[wtr-general] Re: How to wait until an element is visible on a page

2009-12-01 Thread Jarmo Pertman
Why is it invalid? How is the div made invisible? If you look at watir/ contrib/visible.rb, then it checks against css style visibility: hidden or display: none. Is one of these in use? Jarmo On Nov 30, 10:39 pm, QAguy qablogm...@gmail.com wrote: I have this piece of code on a page I am trying

[wtr-general] Re: Relative path

2009-12-01 Thread Prince3105
Thanks Roshan, But i couldn't run the code. It gives me error. bad value for range (ArgumentError) So can you elaborate more? Thanks, Prince3105 On Dec 1, 11:04 am, Rohan Ojha rohan.o...@bsil.com wrote: Hi You can try this pathToTestFile = FileUtils::pwd basePath =

[wtr-general] individual methods can work by itself. but they cannot work when they are group together?

2009-12-01 Thread Capricorn
Hi,all ! i want you help. i do not know why the individual methods can work by itself and no warning or error, but they can not work when they are group together. my method is below: require 'watir' require 'test/unit' require 'ci/reporter/rake/test_unit_loader.rb' require 'win32ole' require

[wtr-general] Re: Relative path

2009-12-01 Thread Prince3105
Thanks Rahul I already tried it returns the folder path but Watir expects the path like below. Otherwise it throws error due to some regular expression validation. $excel_path = e:\\Data\\Prince\\WatIR\\iComet\\TestCases\ \StoresSpares Thanks, Prince3105 On Dec 1, 2:09 pm, Rahul S. Shetty

[wtr-general] Featured on Watir podcast

2009-12-01 Thread Željko Filipin
Want to say to the world that you are using Watir? You can be featured person/company at http://watirpodcast.com/ for free. Let me know if you are interested. Željko -- watir.com - community manager watirpodcast.com - host -- You received this message because you are subscribed to the Google

RE: [wtr-general] Re: Relative path

2009-12-01 Thread Rahul S. Shetty
Ohk...Well then do try this...Even I have stumbled upon similar kind of issue before.. $excel_path = Dir.getwd + '/StoresSpares' $excel_path = $excel_path.gsub('/','\\') Let me know if this works. Just curious to know. Regards, Rahul S. Shetty -Original Message- From: Prince3105

[wtr-general] Re: Relative path

2009-12-01 Thread Prince3105
Thanks Rahul Works like a charm. Thanks for your efforts. Thanks, Prince3105 On Dec 1, 3:38 pm, Rahul S. Shetty rahulshe...@bsil.com wrote: Ohk...Well then do try this...Even I have stumbled upon similar kind of issue before.. $excel_path = Dir.getwd + '/StoresSpares' $excel_path =

[wtr-general] Re: How to wait until an element is visible on a page

2009-12-01 Thread KimBrown
http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir I've used this: while (not $ie.html.include? my html) code to refresh page.-- won't auto-update puts not there yet ... sleep 5 end You can also use $ie.text.include? there are probably other ones too, but that's all I

[wtr-general] Rescue

2009-12-01 Thread Steve Hamlett
I'm using Watir to automate the testing of a report generated by MS SQL Reporting Services. The report generates 4 pages of output. Each page except the last one has a table which is addressable with Watir as follows: tbl = ie.frame(:id,'ReportFramectl144').frame

[wtr-general] Re: How to wait until an element is visible on a page

2009-12-01 Thread QAguy
Yup, doing it using a text.include worked. Thanks for the help. QAguy On Dec 1, 9:42 am, KimBrown kimbro...@yahoo.com wrote: http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir I've used this:   while (not $ie.html.include? my html)     code to refresh page.-- won't auto-update    

Re: [wtr-general] Re: How to wait until an element is visible on a page

2009-12-01 Thread de Villamil Frédéric
Hello, I usually use a simple Watir::Waiter::wait_until { @browser.div(:class, / encoding_complete/).exists? } Works like a charm. Fred Le 1 déc. 2009 à 17:25, QAguy a écrit : Yup, doing it using a text.include worked. Thanks for the help. QAguy On Dec 1, 9:42 am, KimBrown

[wtr-general] Re: issue in entering value in text field

2009-12-01 Thread mohe
sorry for the delayed response...i already added this site as Trusted site still it is not working,But for the particular screen it shows Unknown Zone (Mixed) On Nov 26, 11:56 am, Ethan notet...@gmail.com wrote: You can try adding the relevant domain(s) you are using to the list of trusted

[wtr-general] Does watir works on opera browser?

2009-12-01 Thread shradha_Dalvi
Hi, Kindly let me know,does watir works for Opera browser.If yes,please let me know the process. regards. Shraddha. -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before

[wtr-general] Chrome-Watir

2009-12-01 Thread shradha_Dalvi
Hi sai, Have you done with Chrome watir updation? -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines:

[wtr-general] Re: Does watir works on opera browser?

2009-12-01 Thread shradha_Dalvi
also let me know from where I can get gem for Opera Watir. On Dec 2, 9:41 am, shradha_Dalvi kshradh...@gmail.com wrote: Hi,    Kindly let me know,does watir works for Opera browser.If yes,please let me know the process. regards. Shraddha. -- You received this message because you are