[wtr-general] watir-webdriver can not work on chrome with Browser.windows

2011-08-26 Thread ge bt
Dear: My environment is ruby1.8.7 ,watir2.01 . watir-webdriver0.3.2 windowsxp sp3 .I use the function browser.window(:url=/my.jsp/).use do browser.radio(:index,0).click end to operating the popu window by chrome and I have got a error message when the function is over

[wtr-general] Re: getAllContents equivalent in watir-webdriver?

2011-08-26 Thread joedio
Abe, In Watir look for 'options' and 'selected_options' in the class Watir::SelectList In watir-webdriver look for 'options' and 'selected_options' in the class Watir::Select Joe On Aug 25, 1:32 pm, Abe Heward abe.hew...@gmail.com wrote: In Watir you can get an array of all items in a

[wtr-general] logic to compare the two sheets in watir

2011-08-26 Thread jp
Hi, I have a query, I want to compare the two sheets.my first sheet have the result i was typed manually and my second sheet have the result coming from the web page.. Iam not clear in this concept.. i want to compare sheet1 and sheet 2both data's in the sheet will correct or not? Is thr

[wtr-general] Need idea to compare 2 sheets

2011-08-26 Thread jp
HI, Pl give me an idea how to compare the 2 open office calc sheet in watir. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general

[wtr-general] Ruby 1.9.2 and Watir 2.01 indexing compatibility

2011-08-26 Thread George Wiley
I ran across an issue with Ruby 1.9.2, Watir 2.01 and compatibility with older versions without zero based indexing. I'm running on Win7, IE8. I have a page with 5 radio buttons with the below option set in my code. Watir.options[:zero_based_indexing] = false Here is my code:

Re: [wtr-general] Need idea to compare 2 sheets

2011-08-26 Thread Željko Filipin
Watir just drives browsers. It does not know anything about open office. Try roo gem for that. On Friday, August 26, 2011, jp skbj...@gmail.com wrote: HI, Pl give me an idea how to compare the 2 open office calc sheet in watir. -- Before posting, please read http://watir.com/support. In

[wtr-general] watir: how to select li link with id from a jquery dynamic list

2011-08-26 Thread mo10soccer
Using Watir 2.0, Ruby 1.8.7: I have a dynamic Div that contains div id=industry class=modal dl id=SomeID class=first dtsomeText/dt dd ul li id=someID1 a href=# class=selectedsomeText/a li id=someID2 a href=#SomeText/a This list is in a modal jquery pop up form. So I want to click on any li. and

Re: [wtr-general] IE 9 execute_script broken

2011-08-26 Thread Michael
What version of Watir should I expect to see that fix in? 2.0.2 when it comes out? On 2011-08-24, at 9:32 PM, parolkar wrote: Hi Michael, This was a bug which was fixed in this commit : https://github.com/bret/watir/commit/f9b351c99352160d6becec4bd1ec1d54f570bc18 Are you still facing this

Re: [wtr-general] watir 2.0.1 table rows method broken

2011-08-26 Thread Michael
Thanks for the update and workaround Alister. I'll add the 'if Watir do it that way, else do it the compatible way' to my code. I'll look forward to a fix in a future version of Watir. :-) On 2011-08-24, at 7:48 PM, Alister Scott wrote: Yeah, it looks bust. You can use: