[wtr-general] Re: Chrome-Watir

2009-12-02 Thread Sai Venkat
The working core is there. Still work is done for building the API on top of it. You can watch the project from Github http://github.com/saivenkat/chromewatir. --Sai On Dec 2, 12:42 pm, shradha_Dalvi kshradh...@gmail.com wrote: Hi sai,            Have you done with Chrome watir updation? --

[wtr-general] Watir 1.6.5 on Ruby5

2009-12-02 Thread Željko Filipin
Watir 1.6.5 was mentioned in Ruby5, episode #31: http://ruby5.envylabs.com/episodes/32-episode-31-december-1-2009 Željko -- watir.com - community manager watirpodcast.com - host -- You received this message because you are subscribed to the Google Groups Watir General group. To post to this

Re: [wtr-general] How to set a style value for a div/class

2009-12-02 Thread Željko Filipin
On Tue, Dec 1, 2009 at 10:26 PM, QAguy qablogm...@gmail.com wrote: div id=slider_handle_min class=handle selected style=left: 0px; I need to set the style value above to a value greater than 0px. Watir is _just_ a browser driver. That means it drives the browser like a real user would. How

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

2009-12-02 Thread Željko Filipin
On Wed, Dec 2, 2009 at 5:41 AM, shradha_Dalvi kshradh...@gmail.com wrote: Kindly let me know,does watir works for Opera browser. Watir does not support Opera. There is plan to support Opera in Watir 2.0, but we do not know when it will be released. Watir 2.0 source:

[wtr-general] Re: Browser window close and Javascript popup problem on Watir 1.6.5/Ruby 1.8.6-26

2009-12-02 Thread b...@pettichord.com
One thing you might try, in order to track things down, would be to try running your tests with with Watir 1.6.2. If you do this, you should manually install firewatir 1.6.2 also (gem install firewatir -v 1.6.2). And then uninstall any newer watir gems (if any). Bret On Dec 1, 2:41 pm, DerekW

[wtr-general] Re: Rescue

2009-12-02 Thread b...@pettichord.com
Another solution would be to use tbl = ie.frame(:id,'ReportFramectl144').frame(:id,'report').table (:class, /a3/) This should cover both cases. On Dec 1, 10:24 am, Steve Hamlett shaml...@twia.org wrote: I'm using Watir to automate the testing of a report generated by MS SQL Reporting

[wtr-general] using rspec -b (backtrace) option makes watir run in an invisible window

2009-12-02 Thread jw
Is this intended behavior? The window is invisible, when I look in Process explorer and try to bring IE's window to front it says no visible window found. Oddly, the window becomes visible when calling enabled_popup. This is about 20 seconds into the test, so it's not window lag and the test is

[wtr-general] Re: using rspec -b (backtrace) option makes watir run in an invisible window

2009-12-02 Thread b...@pettichord.com
Watir also has a -b option, which does what you are seeing. You can use rspec's --backtrace option to avoid this behavior. On Dec 2, 11:52 am, jw joshuawal...@gmail.com wrote: Is this intended behavior?  The window is invisible, when I look in Process explorer and try to bring IE's window to

[wtr-general] how to use regular expression in $ie.text.include?

2009-12-02 Thread mohe
regular expression is not woking in function.any mistake in below code.? def verify_field(check,result) aa=Regexp.new check if ($ie.text.include?(aa)) $dt.WriteData(#{result},Sheet1, Pass) end end -- You received this message because you are subscribed to the Google

[wtr-general] regular expression in $ie.text.include? issue

2009-12-02 Thread mohe
regular expression is not working in $ie.text.include?.i am getting error message `include?': can't convert Regexp into String (TypeError) for the following code.any idea please.? def verify_field(check,result) if $ie.text.include?(Regexp.new(check)) $dt.WriteData(#{result},Sheet1, Pass)

[wtr-general] Re: regular expression in $ie.text.include? issue

2009-12-02 Thread mohe
'check' variable is a string.actually i need to verify some text in all the pages.so i wrote a function and pass the text through the variable check.i want to use the regular expression for the text as it is failed in some pages even the particular text is displayed in page. On Dec 2, 2:59 pm,

[wtr-general] Re: regular expression in $ie.text.include? issue

2009-12-02 Thread mohe
Thank you John,Ethan. it is my bad..the text is displayed inside the frame. $ie.frame(:name,Main).text.include? is working On Dec 2, 3:48 pm, mohe j.mohanpra...@gmail.com wrote: 'check' variable is a string.actually i need to verify some text in all the pages.so i wrote a function and pass the

[wtr-general] Re: Browser window close and Javascript popup problem on Watir 1.6.5/Ruby 1.8.6-26

2009-12-02 Thread DerekW
Hi Bret, I thought that Watir 1.6.2 did not support attach(). I remembered reading in the 1.6.2 release notes that attach wasn't supported so this was the reason I held back on 1.5.6 before moving to 1.6.5. Please correct me if I've misinterpreted something here. Thanks. Derek W. On Dec 3,