[wtr-general] Using ChromeWatir - method 'goto' fails to return (hangs). How to fix this?

2009-11-16 Thread azn-...@hotmail.com
Using 'irb' and the following simple script seems to hang at the 'goto' statement. Anyone address this problem? I am using the latest chromewatir 1.5.1. require 'chrome_watir' browser=ChromeWatir::Browser.new browser.goto 'http://www.google.com' puts '-- Never comes here! --'

[wtr-general] ruby not exit

2009-11-16 Thread Mamunur Rashid
i've written following code require 'watir' Watir::Browser.default = firefox url=http://turagv2:8080/lotry/Login.do; name=admin password=admin $b = Watir::Browser.start(url) $b.text_field(:name, username).set(name) puts 'test1' $b.text_field(:name, password).set(password) puts 'test2'

[wtr-general] Re: firewatir- I cannot close the second popup.

2009-11-16 Thread Pallavi Sharma
Can't you start two start clickers at once? Will they both try to access the first pop up and if found close it? So what i am suggesting is this: ff.startClicker(ok) $ff.startClicker(ok) $ff.image(:name, /elete/).click Wont this work Angrez? I had a similar situation for IE, and i used the

[wtr-general] Re: JSSH on FF 3.0.14 [Solved]

2009-11-16 Thread Angrez Singh
Thanks for all your efforts. Much appreciated. - Angrez On Mon, Nov 16, 2009 at 4:43 PM, Alexandre neonoe123...@gmail.com wrote: Le lundi 16 novembre de l'année 2009, vers 15 heures et 15 minutes, Angrez Singh écrivait: Glad to see that you solved it yourself. Can you post this to wiki so

[wtr-general] Re: ruby not exit

2009-11-16 Thread Pallavi Sharma
maybe you can try putting an exit() after your last puts statement. -- Pallavi On Mon, Nov 16, 2009 at 12:43 PM, Mamunur Rashid mamun...@gmail.com wrote: i've written following code require 'watir' Watir::Browser.default = firefox url=http://turagv2:8080/lotry/Login.do; name=admin

[wtr-general] Re: firewatir- I cannot close the second popup.

2009-11-16 Thread Angrez Singh
It might work, because both of them will be looking for the pop up to close. When you click the delete button pop up will come, not sure which thread will close the pop up. But second one will close second pop up if you are using Auto IT. In Firewatir the concept is bit different, I don't use

[wtr-general] ondblclick event doesn't work in firewatir 1.6.5

2009-11-16 Thread al3kc
In 1.6.2 I made fireEvent action like $test_browser.div(:class ,name).div(:xpath ,//d...@class ='class'] [3]).div(:class ,classname).text_field(:value, name).fireEvent ('ondblclick') and it worked great. After upgrading to 1.6.5 it just do nothing, it doesn't give any error and looked like

[wtr-general] Re: firewatir- I cannot close the second popup.

2009-11-16 Thread Shlomit Gazit
Pallavi, Angrez hello, Thank you for the replies. I was trying your suggestion: $ff.startClicker(ok) $ff.startClicker(ok) $ff.image(:name, /elete/).click But it still didn't close the popup. I am able to do it with watir like this: Thread.new{system(rubyw myClicker.rb)} $ie.image(:name,