[wtr-general] Re: Watir 1.6.5 is released

2009-11-16 Thread Jarmo Pertman
Good news. It seems that there will come a time I have to upgrade also Watir at my workplace (along with RSpec). Hopefully it will work like a charm :-) On Nov 12, 12:51 am, Charley Baker wrote: > Thanks guys, there's been a lot of work on this release. I think the most > we've seen so far. > >

[wtr-general] Re: click on item in span

2009-11-16 Thread Raveendran P
Hi Kai, I hope it helps --> ie.span(:text,'MZ Test Search').click If it is not working then please provide the html code for that page (Atleast a tag details) Thanks On Tue, Nov 17, 2009 at 3:47 AM, Kai wrote: > > Hi. I need to be able to click on "MZ Test Search". Does anyone know > what met

[wtr-general] click on item in span

2009-11-16 Thread Kai
Hi. I need to be able to click on "MZ Test Search". Does anyone know what method to use to click on this? I've tried ie.link(:text, "MZ Test Search").click but does not work. li class="last" searchid="-32752"> MZ Test Search Thank you, Kai --~--~-~--~~~---~--~~

[wtr-general] Re: Code Swarm visualization of Watir project

2009-11-16 Thread marekj
Nice, Thanks. marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Thu, Nov 12, 2009 at 2:22 AM, Sai Venkat wrote: > > Did a pretty cool code swarm visualization of Watir project. Check out > the blog @ > http://developer-in-test.blogspot.com/2009/11/co

[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

[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 lik

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

2009-11-16 Thread Alexandre
Le lundi 16 novembre de l'année 2009, vers 12 heures et 18 minutes, Željko Filipin écrivait: > On Mon, Nov 16, 2009 at 12:13 PM, Alexandre wrote: > > Done: http://wiki.openqa.org/display/WTR/FireWatir+Installation > > Excellent! :) > > Please add yourself to Documentation section of > http://

[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 AutoI

[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 wrote: > > i've written following code > > require 'watir' > Watir::Browser.default = "firefox" > url="http://turagv2:8080/lotry/Login.do"; > name="admin" > password="

[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 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 > that its > > hel

[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 Željko Filipin
On Mon, Nov 16, 2009 at 12:13 PM, Alexandre wrote: > Done: http://wiki.openqa.org/display/WTR/FireWatir+Installation Excellent! :) Please add yourself to Documentation section of http://wiki.openqa.org/display/WTR/Contributors Željko -- watir.com - community manager watirpodcast.com - host --~

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

2009-11-16 Thread Angrez Singh
Glad to see that you solved it yourself. Can you post this to wiki so that its helpful to other people who are running Firewatir on Debian? Thanks, Angrez On Sat, Nov 14, 2009 at 11:30 PM, Alexandre wrote: > > Solution for Debian: > # aptitude install xulrunner-dev > > > By the way, thank you A

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

2009-11-16 Thread Sai Venkat
Hi, I will be updating the repo this week for fixing the compatiility with new version of Chrome.. Patience man :) --Sai On Nov 16, 5:00 pm, Željko Filipin wrote: > On Mon, Nov 16, 2009 at 3:54 AM, azn-...@hotmail.com > wrote: > > > Using 'irb' and the following simple script seems to hang at

[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] 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! --' --~--~-