[wtr-general] Question about automation Gmail with Watir

2010-02-23 Thread Alek
Hi I just started 'playing' with Watir so I am really newbie. I started from automating Gmail (http://wiki.openqa.org/display/WTR/ Automating+Gmail+with+Watir?#comments). It looks that this script is based on old Gmail html layout. Canvas_frame.button(:text, 'Send').click# Send the message .

[wtr-general] Watir freezing when clicking on links

2010-02-23 Thread Frank Harper
I have noticed that clicks sometimes seem to get lost between Watir and IE. When this happens my script will hang (infinite wait?). In this case if I manually click on the link, it unhangs the script. Up until now, I have only seen this happen when running Watir on a VMware virtual machine. I

Re: [wtr-general] Question about automation Gmail with Watir

2010-02-23 Thread Željko Filipin
On Tue, Feb 23, 2010 at 10:17 AM, Alek aleksander.lip...@gmail.com wrote: I just started 'playing' with Watir so I am really newbie. I started from automating Gmail Please do not use Gmail to learn how to use Watir. Gmail is full of strange things. If you really want to use Gmail, then switch

[wtr-general] Re: Question about automation Gmail with Watir

2010-02-23 Thread Alek
Thanks Željko I have went through this pages already. I understand your concept, and probably I will need to try some easier web or switch to basic, however back to my question is this possible to click this div using watir ? I would not start from gmail, however this script looked very

[wtr-general] Re: How to suppress warning thrown by Watir.

2010-02-23 Thread AR
Other than changing the logic of how you are locating frames, the only thing I could find that dealt with suppression of warnings might be: ie.logger.level = Logger::ERROR As I don't have your code to test this solution, it's really a glorified guess. I'd be more inclined to approach the frame

[wtr-general] Re: Watir freezing when clicking on links

2010-02-23 Thread AR
Is there a chance you're testing a great number of pages? My only experience with this behavior was for testing around 20k pages in one script -- Internet Explorer would always croak after 5-8k pages. I switched to WWW::Mechanize for that script and it ran to completion. My tests were also on

[wtr-general] Re: unable to install watir on JP XP

2010-02-23 Thread robert
I am not sure of root cause of my problem. A workaround: Installing watir while logged into the English MUI. -Robert On Feb 2, 1:05 pm, robert reisin...@gmail.com wrote: I am unable to install watir on a XP ProJapanesesystem. Any suggestions? Note, the rspec gem will install. cmd line

Re: [wtr-general] Re: Question about automation Gmail with Watir

2010-02-23 Thread Bill Agee
It's probably possible to fix the gmail script used in the wiki example, but it would take some effort, and it would no longer be suitable as a simple Watir example. :) So, with that in mind, I suggest we remove the gmail wiki page. I commented out the contents of the article, but did not see a

[wtr-general] Re: Need help on dialog access

2010-02-23 Thread Tiffany Fodor
Hi Suresh! We have a pretty extensive page of popup and modal dialog examples on the wiki. Have you tried any of these solutions? Hope this helps! -Tiffany On Feb 23, 2:10 pm, Suresh raja...@gmail.com wrote: Hi, I am quite new to Ruby/Watir. Currently working to automate an app for

Re: [wtr-general] Re: Question about execute the scripts in background

2010-02-23 Thread Moises Siles
Hi Michael, do you mean this ie = Watir::Browser.new_process Thanks On Tue, Feb 23, 2010 at 11:45 AM, Michael Hwee michael_h...@yahoo.comwrote: Are you using new_process()? That will explain. -- *From:* Moises Siles moises.si...@gmail.com *To:*

Re: [wtr-general] Need help on dialog access

2010-02-23 Thread Charley Baker
It's hard to say what kind of modal this is since the term is overloaded. Try the solutions on the wiki and see if you can identify whether it's a js modal, or other modal and also do a click_no_wait instead of a click on the link that launches that. If it's a true ie modal dialog, then try

Re: [wtr-general] Re: Question about automation Gmail with Watir

2010-02-23 Thread Charley Baker
Agreed, I would say dump it and somewhere in the intial guides, since this is a common question, put an NB: saying don't start with gmail. -c On Tue, Feb 23, 2010 at 1:12 PM, Bill Agee billa...@gmail.com wrote: It's probably possible to fix the gmail script used in the wiki example, but it

[wtr-general] All calls to Watir::IE.find fail

2010-02-23 Thread Jim
When running Watir through Hudson which launches a nunit console executable that runs a nunit test that in turns launches a ruby.exe passing a ruby file that has Test::Unit::TestCase test cases will always throw errors on the Watir::IE.find calls. All the find calls error with the same OLE and

[wtr-general] Re: All calls to Watir::IE.find fail

2010-02-23 Thread Tiffany Fodor
Hi Jim! I haven't used Hudson, so this is really just a guess, but have you tried using the attach method instead of the find method? -Tiffany On Feb 23, 8:30 pm, Jim jame...@gmail.com wrote: When running Watir through Hudson which launches a nunit console executable that runs a nunit test

Re: [wtr-general] Re: Question about execute the scripts in background

2010-02-23 Thread Moises Siles
well, I'm trying with celerity and jruby and I think it is working, I will do more tests with that things to see if I can run at least 100 users at same time thanks, On Tue, Feb 23, 2010 at 4:41 PM, Moises Siles moises.si...@gmail.comwrote: Hi Michael, do you mean this ie =