[Wtr-general] Seemingly bogus error in simple script

2007-03-07 Thread Steven List
I'm brand new at this. I've created a very simple script to test a login page... require 'watir' ie = Watir::IE.start(http://mysite;) ie.text_field(:name, j_username).set(blah) ie.text_field(:name, j_password).set(blah) ie.button(:value, Submit).click If I execute these commands manually in

Re: [Wtr-general] Seemingly bogus error in simple script

2007-03-07 Thread Charley Baker
I can only assume there are some timing issues. I'd recommend using a more recent version of Watir which you can pull from the home page on openqa: http://www.openqa.org/watir or build your own from the repository which is on the FAQ page under Installing a Gem from the latest development source.

Re: [Wtr-general] Seemingly bogus error in simple script

2007-03-07 Thread Steven List
Upgrading to the latest development version fixed the problem. - Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6823messageID=19650#19650 ___ Wtr-general mailing

Re: [Wtr-general] Seemingly bogus error in simple script

2007-03-07 Thread matt
I am a new user to ruby/watir as well...maybe we can get through this together :) Basically, I did the same thing...launch irb and type commands to see what happens. It was my experience that if it worked in irb, it worked in the script. However, I am using ie6. I haven't tried ruby/watir

Re: [Wtr-general] Seemingly bogus error in simple script

2007-03-07 Thread Charley Baker
You didn't say there was an error or anything went wrong. I'd recommend ie developer toolbar over show_all_objects. The link is on the FAQ site. Otherwise, are you having problems? -Charley On 3/7/07, matt [EMAIL PROTECTED] wrote: I am a new user to ruby/watir as well...maybe we can get