[wtr-general] Re: handling popups

2009-08-06 Thread Angrez Singh
one more thing: $ie.text_field(:name,text1).set(This is the text in the popup) $ie.button(:name,submit).click check_for_popups(Microsoft Internet Explorer, OK) You should be using click_no_wait() for handling the pop ups. Else your script will get block. Basic idea is to use click_no_wait in

[wtr-general] Select_list does not select anything

2009-08-06 Thread neonoe123321
Hi, I am using firewatir 1.6.2. If we consider this html code: tr td class=bodyCopyBlackLarge width=60 align=rightDownload /td td width=40 align=left select class=pullDownMenu name=fileFormate option value=1value 1/option option value=2value 2 /option option value=3value 3/option option

[wtr-general] Re: Select_list does not select anything

2009-08-06 Thread John Kolokotronis
If you want to use the value, I think you should be doing: ff.select_list(:name, 'fileFormate').select_value('3') Or if you want to use the description (value 3), try this: ff.select_list(:name, 'fileFormate').select(/value 3/) Regards, John

[wtr-general] Re: Select_list does not select anything

2009-08-06 Thread Alexandre
Le jeudi 06 août de l'année 2009, vers 01 heures et 14 minutes, John Kolokotronis écrivait: If you want to use the value, I think you should be doing: ff.select_list(:name, 'fileFormate').select_value('3') Yes, that works fine. Thank you -- Alexandre Delanoë

[wtr-general] Re: clicking ok on popups

2009-08-06 Thread Reshma
Yes that is right! I realized that PopupA and popup B were invoked using internal propritory language So I don't think that can be automated I managed to click OK on the popup that opens with new browser using the following def check_for_popups autoit =

[wtr-general] Fire Watir and Safari Watir

2009-08-06 Thread Pallavi Sharma
Hi Has anyone ever used FireWatir and Safari Watir here? Does these two flavours of watir support all kinds of elements. Is there any method element supported list for them available like we have for watir. Anyone here, please update.. Thanks Pallavi

[wtr-general] Re: Verify does not work while checking the links.

2009-08-06 Thread Yuvraj Jagadale
Hi Wesley, I have tried by replacing @ with $, but i doesn't made any difference to final output. By using @@, it gives error 'uninitalised class variable' Is there any solution for this? Thanks, On Thu, Aug 6, 2009 at 3:00 PM, Wesley Chen cjq@gmail.com wrote: Don't use @, instead, please

[wtr-general] Re: Dynamically generated elements on Ajax app

2009-08-06 Thread Mark Anderson
was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4312 (20090806) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32

[wtr-general] Re: Watir on Ruby 1.9.1

2009-08-06 Thread Michael Hwee
Good job, Jari. Does it work with Watir 1.6.1 or 1.6.2? From: Jari Bakken jari.bak...@gmail.com To: watir-general@googlegroups.com Sent: Wednesday, August 5, 2009 3:51:55 PM Subject: [wtr-general] Re: Watir on Ruby 1.9.1 I figured out the WIN32OLE issue - all

[wtr-general] Re: Verify does not work while checking the links.

2009-08-06 Thread George
This sounds like more a fundamental Ruby issue than anything. I'm not sure how your first assert statement would work since you're calling a local 'browser' variable within your method. Try this out: ## require 'watir' require 'watir/testcase' class VerifyTest

[wtr-general] Re: Watir on Ruby 1.9.1

2009-08-06 Thread Jari Bakken
On Thu, Aug 6, 2009 at 5:36 PM, Michael Hwee michael_h...@yahoo.com wrote: Good job, Jari. Does it work with Watir 1.6.1 or 1.6.2? Nope. At the moment you need my ruby191 branch from GitHub: http://github.com/jarib/watir/tree/ruby191 I'll make sure it get merged to master before the next

[wtr-general] Re: handling popups

2009-08-06 Thread George
This is a good one too! http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups On Aug 5, 11:49 pm, Angrez Singh ang...@gmail.com wrote: one more thing: $ie.text_field(:name,text1).set(This is the text in the popup) $ie.button(:name,submit).click check_for_popups(Microsoft Internet

[wtr-general] Digital Certificates

2009-08-06 Thread Darwin
I am testing Watir on our Test website that requires you to choose a digital certificate before proceeding to the main login page. If I invoke IE7 and enter our test server link it displays the pop up window Choose a digital certificate. But if I use watir require 'watir' require 'watir/ie' #