[wtr-general] Re: Html Elements Supported by Watir

2009-10-09 Thread Wesley Chen
Yes, Zeljko is really a nice, warm-heart person. Thanks. Wesley Chen. For life, the easier, the better. On Fri, Oct 9, 2009 at 1:34 PM, Raveendran P jazzezr...@gmail.com wrote: ZelijGO, Congrats. Awesome effort. Thanks. On Fri, Oct 9, 2009 at 11:00 AM, Pallavi Sharma

[wtr-general] Re: Need to print results of Mulitple scripts in one HTML file

2009-10-09 Thread Bindhu
Thanks Prajakta and Rohan for ur quick reply, And sorry to bother you again... I the below code in every script r = CLReport.new() testReport = r.createReport('D:\\Automation\\ReportName') Script to be executed end r.addtoReport(testReport,TC_001, 'PASSED', New Account Created

[wtr-general] Re: Close All browsers and Firewatir

2009-10-09 Thread Angrez Singh
I'll implement one for this. Should be a easy task to do. On Fri, Oct 9, 2009 at 2:08 AM, orde ohil...@gmail.com wrote: According to this page, there's no close_all method for firewatir: http://wiki.openqa.org/display/WTR/Firewatir+Compatibility Could be out of date, though... On Oct 7,

[wtr-general] Re: Iterating through an unordered list

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 12:26 AM, George george.sand...@gmail.com wrote: I didn't see the method 'lis' And we have a wiki page that talks about `lis` and similar methods: http://wiki.openqa.org/display/WTR/Collections+of+HTML+Elements Željko -- http://watirpodcast.com/

[wtr-general] Re: Does anyone have examples of using rspec with safariwatir

2009-10-09 Thread Željko Filipin
We have example of Watir with Rspec: http://wiki.openqa.org/display/WTR/RSpec Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email

[wtr-general] Re: Does anyone have examples of using rspec with safariwatir

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 5:22 AM, yuping zhong littlezhong...@gmail.com wrote: Where can we get the video? http://www.vimeo.com/2871256 Found it with Google: http://www.google.com/search?q=Dave+Hoover+video+safariwatir+cucumber Željko --~--~-~--~~~---~--~~ You

[wtr-general] Re: Need to print results of Mulitple scripts in oneHTML file

2009-10-09 Thread karim rayani
Hello All, Use the Watircraft framework, nothing like using Rspec so as to get to know the exact point of failures and fancy reports Regards, Karim Rayani On Fri, Oct 9, 2009 at 2:03 PM, Rohan Ojha rohan.o...@bsil.com wrote: Hey Bindhu, Rake is ruby make file. You can say its Ruby’s

[wtr-general] Re: watir:buttons returns only 1st button

2009-10-09 Thread kat
Unfortunately, I cannot change html. Also, this is a real bug. I've submitted it here: to http://jira.openqa.org/browse/WTR-326 On Oct 8, 11:25 pm, orde ohil...@gmail.com wrote: Weird.  Looks like it's returning the text (i.e. 1st button) instead of the value (first button). I'm not sure why

[wtr-general] Re: Does anyone have examples of using rspec with safariwatir

2009-10-09 Thread aidy lewis
Hi, Cucumber or Rspec? I will add to zeljko's link today. The example doesn't even use matchers. Richard Downie has a Waitr\Cucumber example here: http://wiki.github.com/aslakhellesoy/cucumber/watircuke, but I don't agree with his approach. Aidy 2009/10/9 Željko Filipin

[wtr-general] Watir gem tries to build against the win32 API on a mac

2009-10-09 Thread Manish Chakravarty
hello, I am pretty new to watir. Installed watir by using the following commands (in this order) sudo gem install firewatir sudo gem install safari watir This happened in irb: irb(main):001:0 require 'watir' LoadError: no such file to load -- watir from (irb):1:in `require' from

[wtr-general] Re: Watir gem tries to build against the win32 API on a mac

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 11:23 AM, Manish Chakravarty manishch...@gmail.com wrote: sudo gem install firewatir sudo gem install safari watir There should not be space in `safari watir`. You should do this ( http://watir.com/installation/): sudo gem update --system sudo gem install firewatir sudo

[wtr-general] Re: Does anyone have examples of using rspec with safariwatir

2009-10-09 Thread aidy lewis
I have written a new example here: http://wiki.openqa.org/display/WTR/RSpec Aidy 2009/10/9 aidy lewis aidy.le...@googlemail.com: Hi, Cucumber or Rspec? I will add to zeljko's link today. The example doesn't even use matchers. Richard Downie has a Waitr\Cucumber example here:

[wtr-general] Watir -Ajax Application working in IE6 but not in IE7

2009-10-09 Thread AAP
Hi, The Application is IBM WebSphere which is a ajax application, works fine in IE6. But not in IE7. Since the OS is Vista, IE browser starts with IE7 as a package. Any idea would be highly useful for us. --~--~-~--~~~---~--~~ You received this message because

[wtr-general] Re: Watir -Ajax Application working in IE6 but not in IE7

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 2:26 PM, AAP amudha.bu...@gmail.com wrote: The Application is IBM WebSphere which is a ajax application, works fine in IE6. But not in IE7. And the problem is? I do not see how this is related to Watir. Željko -- http://watirpodcast.com/

[wtr-general] Re: ie.goto never returns. Page never loads.

2009-10-09 Thread llemirtrauts
Many thanks for your reply karim. I'm not sure that the information on this link helps. This page indicates how to wait if Watir doesn't explicitly wait. I want to explicitly NOT wait for a page to finish loading, because in essence the page 'never' loads fully due to the continuous http

[wtr-general] SendKey focus missing in IE 7

2009-10-09 Thread Prince3105
Hi All, I am a newbie to Watir. This issue might be discussed many times, but i am unable to find a solution by searching. I am using below package. Watir version - 1.6.2 Ruby version - 1.8.6 Today i updated my IE from 6 to 7. I used send_key method extensively in the code. But when i

[wtr-general] Re: ie.goto never returns. Page never loads.

2009-10-09 Thread llemirtrauts
I found this in a different thread. It suggests running goto in a different thread, then sleeping for a few seconds until its likely to have loaded. Its not ideal, but it works:- -- Forwarded message -- From: LFIdnl sraniim...@gmail.com Date: Dec 10 2008, 7:33 am Subject: Modal

[wtr-general] Re: SendKey focus missing in IE 7

2009-10-09 Thread Trevor
I had a similar problem I also had to use a workaround, basically just tab away from the address bar first e.g. $browser.send_keys({tab}) #Added for IE7 as focus remains in the address bar unless tabbed away from it Trevor On 9 Oct, 13:46, Prince3105 prince3...@gmail.com wrote:

[wtr-general] Re: watir:buttons returns only 1st button

2009-10-09 Thread SuperKevy
From the w3c schools Definition and Usage The button tag defines a push button. Inside a button element you can put content, like text or images. This is the difference between this element and buttons created with the input element. Always specify the type attribute for the button. The

[wtr-general] Console output when compare file fails

2009-10-09 Thread Trevor
The final part of one of my tests creates an output file and compares against a reference file. The files are approx. 230Mb in size The test works OK, but when the outputs are different I get both files dumped into the console. As they are effectively binary files, this is of no use. Is there a

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Željko Filipin
`gem update --system` took something like an hour after a clean Ruby 1.8.6-26 install. I know we can not do anything about it, but I was _really_ surprised. Željko -- http://watirpodcast.com/ --~--~-~--~~~---~--~~ You received this message because you are

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread aidy lewis
Hi Charley 2009/10/5 Charley Baker charley.ba...@gmail.com: wrote: http://wiki.openqa.org/display/WTR/Development+Builds Would it not be an idea to install the gem(s) directly from github? Aidy --~--~-~--~~~---~--~~ You received this message because you are

[wtr-general] Re: Console output when compare file fails

2009-10-09 Thread Bill Agee
I would try comparing the files, then asserting the resulting boolean value: assert(FileUtils.compare_file('C:\foo.txt', 'C:\bar.txt')) On Fri, Oct 9, 2009 at 6:41 AM, Trevor ti_ma...@btopenworld.com wrote: The final part of one of my tests creates an output file and compares against a

[wtr-general] Re: Html Elements Supported by Watir

2009-10-09 Thread Bill Agee
Agreed, Željko's contributions are great - I've especially enjoyed the podcasts. :) Bill On Thu, Oct 8, 2009 at 10:59 PM, Wesley Chen cjq@gmail.com wrote: Yes, Zeljko is really a nice, warm-heart person. Thanks. Wesley Chen. For life, the easier, the better. BTW, I have a comment

[wtr-general] Re: Console output when compare file fails

2009-10-09 Thread Trevor
Thanks Bill. I'm sure I was having problems before (was quite a while ago) when using file compare, which was why I was using the file read method. Seems to work OK now, so no idea what I was doing before! Thanks, Trevor On 9 Oct, 15:32, Bill Agee billa...@gmail.com wrote: I would try

[wtr-general] Re: Difference b/w Click_no_wait and .Click!

2009-10-09 Thread Charley Baker
The one major reason that click! would work and not click_no_wait is if you've installed from the ruby one click installer 1.8.6.27 rc2. Try the previous version 1.8.6.26. -c On Thu, Oct 8, 2009 at 11:06 PM, Pallavi Sharma write2pall...@gmail.comwrote: Hi Can anyone here tell me what are the

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Bret Pettichord
Another problem is that github only allowed one gem per project. We currently have three. On Oct 9, 10:33 am, Charley Baker charley.ba...@gmail.com wrote: I'd thought about doing something like that. Unfortunately it's somewhat of a moot point right now since github's gem creation isn't

[wtr-general] Re: watir:buttons returns only 1st button

2009-10-09 Thread Bret Pettichord
The watir button/buttons methods support both kinds of HTML buttons. Or at least they have and they should. On Oct 9, 8:38 am, SuperKevy kpe...@scholarshipamerica.org wrote: From the w3c schools Definition and Usage The button tag defines a push button. Inside a button element you can put

[wtr-general] Re: watir:buttons returns only 1st button

2009-10-09 Thread Bret Pettichord
Thanks for the report. This is duplicate of WTR-175, which has been open for some time. Would someone like to look into fixing it? http://jira.openqa.org/browse/WTR-175 Bret On Oct 9, 4:16 am, kat katfor...@gmail.com wrote: Unfortunately, I cannot change html. Also, this is a real bug. I've

[wtr-general] Programatically Changing Proxy Settings

2009-10-09 Thread Jeff Savin
Hi, Other than using AutoIt to send keystrokes to the browser or changing the registry (requiring an IE restart) is there a more slick way of changing IE proxy settings on the fly?? Any help would be appreciated. Thanks, Jeff --~--~-~--~~~---~--~~ You received

[wtr-general] Re: ie.goto never returns. Page never loads.

2009-10-09 Thread SuperKevy
This code snip says it takes about 36 seconds for download complete require 'watir' # use watir gem test_site = 'http://www.igindex.co.uk' # set a variable ie = Watir::Browser.new # open the IE browser ie.goto(test_site) #

[wtr-general] Re: Programatically Changing Proxy Settings

2009-10-09 Thread Nathan Lane
What version of IE and Windows are you using. There are various techniques, but most are browser version and Windows version dependent. On Fri, Oct 9, 2009 at 12:22 PM, Jeff Savin jeff.sa...@gmail.com wrote: Hi, Other than using AutoIt to send keystrokes to the browser or changing the

[wtr-general] Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Charley Baker
Hi all, There's been a lack of feedback on this release candidate. I'm hoping some of you had the chance to test it out. If not, please take some time if you will to run through some of your tests with this build, there have been quite a few fixes and we could use some eyes to check for

[wtr-general] Re: ie.goto never returns. Page never loads.

2009-10-09 Thread SuperKevy
The site downloads a virus, that looks like Microsoft defender. This violates Microsoft copyright laws On Oct 6, 12:01 pm, llemirtrauts smrim...@gmail.com wrote: Hi, I'm pretty new to Watir and I'm having an intermittent problem with scripts hanging when a web page doesn't fully load. I'm

[wtr-general] Re: Programatically Changing Proxy Settings

2009-10-09 Thread Jeff Savin
Lets just say Windows XP and IE 6 or 7. On Oct 9, 12:42 pm, Nathan Lane nathamberl...@gmail.com wrote: What version of IE and Windows are you using. There are various techniques, but most are browser version and Windows version dependent. On Fri, Oct 9, 2009 at 12:22 PM, Jeff Savin

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Nathan Lane
I'm usually not very bad at figuring things out, but after I install the gems you've provided, I can't get my Windows Vista IE8 to load with Watir. I get the error that watir/ie does not exist. On Fri, Oct 9, 2009 at 1:43 PM, Charley Baker charley.ba...@gmail.comwrote: Hi all, There's been

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread orde
I also experienced the same problem using WinXP SP3 + IE8.x Followed install instructions and tried to check watir version (i.e. ruby -e 'require watir; puts Watir::IE::VERSION' on command line): -e:1: no such file to load -- watir/ie (LoadError) On Oct 9, 1:21 pm, Nathan Lane

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Charley Baker
Well, that's certainly a problem. :) Is that just through irb or where is it happening? Also if there's any chance you can jump on irc, might make troubleshooting easier than email. http://wiki.openqa.org/display/WTR/The+IRC+Channel Charley Baker blog: http://blog.charleybaker.org/ Lead

[wtr-general] Re: Wiki cleanup (was Watir 1.6.5.rc1 - release candidate available for testing)

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 1:52 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: this page should be cleaned up. I would delete everything under `Watir 1.6 has been released`. Also, I would delete it's child pages: Done. The page also had 40 attachments (old development builds). I deleted

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Nathan Lane
Nevermind about that syntax thing -- I'm dumb: Watir::IE::VERSION produces the desired results. On Fri, Oct 9, 2009 at 3:12 PM, Nathan Lane nathamberl...@gmail.com wrote: I was using IRB, haven't tried scripting it out. Further environmental information: I downloaded the 1.6.5 RC 1 watir,

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Željko Filipin
On Fri, Oct 9, 2009 at 4:04 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: `gem update --system` took something like an hour after a clean Ruby 1.8.6-26 install gem update --system --no-rdoc --no-ri took a long time too, but probably only 1/3 or 1/2 of full install, I did not measure.

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Charley Baker
Which version of rubygems for all of you? gem -v from the command prompt -c On Fri, Oct 9, 2009 at 3:15 PM, Nathan Lane nathamberl...@gmail.com wrote: Nevermind about that syntax thing -- I'm dumb: Watir::IE::VERSION produces the desired results. On Fri, Oct 9, 2009 at 3:12 PM, Nathan Lane

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Nathan Lane
1.3.5 On Fri, Oct 9, 2009 at 4:04 PM, Charley Baker charley.ba...@gmail.comwrote: Which version of rubygems for all of you? gem -v from the command prompt -c On Fri, Oct 9, 2009 at 3:15 PM, Nathan Lane nathamberl...@gmail.comwrote: Nevermind about that syntax thing -- I'm dumb:

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Charley Baker
Wow, it didn't take very long for me, 5mins tops. Not sure why it took so long. I generally go no ri, no rdoc as well, nice tip if you're not using it, some people do. -c On Fri, Oct 9, 2009 at 3:21 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Oct 9, 2009 at 4:04 PM, Željko

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Željko Filipin
On Sat, Oct 10, 2009 at 12:07 AM, Charley Baker charley.ba...@gmail.com wrote: Wow, it didn't take very long for me, 5mins tops. My example was after a clean Ruby install. I guess it does not take so long if you have never version of rubygems. Željko

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing - redux

2009-10-09 Thread Bret Pettichord
I am wondering if maybe commonwatir is installed, but not watir? That would be consistent with these symptoms. bret On Oct 9, 3:48 pm, orde ohil...@gmail.com wrote: I also experienced the same problem using WinXP SP3 + IE8.x Followed install instructions and tried to check watir version

[wtr-general] Re: Watir 1.6.5.rc1 - release candidate available for testing

2009-10-09 Thread Bret Pettichord
I wonder if this is because the gem server is in the united states. bret On Oct 9, 5:10 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Sat, Oct 10, 2009 at 12:07 AM, Charley Baker charley.ba...@gmail.com wrote: Wow, it didn't take very long for me, 5mins tops. My example was