[Wtr-general] How to get the row number of a checked checkbox.

2007-07-17 Thread kumari
In a table there are many rows with checkboxes. But only one row contain a checkbox which is set.How can i get the number of row which has the checkbox which is set ___ Wtr-general mailing list Wtr-general@rubyforge.org

[Wtr-general] Embedded Browser, SmartClient

2007-07-17 Thread Lonny Eachus
The problem I have now is that I can walk through all the desktop windows, and the child windows of those windows, get their hWnds, etc... but Watir will not attach using :hwnd because the attach method calls "attach_browser_window", which in turn calls "find_window", and that method only

[Wtr-general] Embedded Browser, SmartClient (Clarification)

2007-07-17 Thread Lonny Eachus
I have been attacking this issue with a number of tools, but information has seemed to be hard to come by. By all appearances, the Microsoft SmartClient contains a Web Browser control (shdocvw.dll?). It is this control to which I believe I have to attach. But using existing Watir methods, this

Re: [Wtr-general] How to fetch data from the text file

2007-07-17 Thread Ċ½eljko Filipin
On 7/17/07, Dinesh [EMAIL PROTECTED] wrote: i wld like to know if i could fetch data from a text file and populate it on the application field for data parameterization... Hi Dinae, Take a look at this links. http://www.rubycentral.com/pickaxe/tut_io.html

Re: [Wtr-general] How to get the row number of a checked checkbox.

2007-07-17 Thread misdou
how about this i=0 table.each do |r| i+=1 if(r.checkbox(:name, noName).isSet?) break end end ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Problem with attach using :title

2007-07-17 Thread jean
Welcome to our website! we are large wholesale company ,offering laptops, Digital cameras, videos, GPS, cellphone, mp4, game console and other electron products .All the offerings have high quality and good prices. Now we have thousands of long term partners all over the world. Please

Re: [Wtr-general] javascript event problem

2007-07-17 Thread jean
Welcome to our website! we are large wholesale company ,offering laptops, Digital cameras, videos, GPS, cellphone, mp4, game console and other electron products .All the offerings have high quality and good prices. Now we have thousands of long term partners all over the world. Please

[Wtr-general] button.save ?

2007-07-17 Thread Ajitesh Srinetra
Hi Everyone, We have one method in watir.rb called Image.save .I want to know is there something of the same kind for buttons. Actually i wanted to use the same for file download ,Now the present code is something like def fill_save_image_dialog(path) Thread.new do system(ruby -e

Re: [Wtr-general] Recommended version of Ruby

2007-07-17 Thread Bret Pettichord
Derek Wong wrote: I remember in an earlier discussion thread that there was something about re-compiling some library to support modal dialogs on different versions of Ruby (correct me if I've misunderstood). Is there a better more maintainable way to do this without coupling WATIR to a

[Wtr-general] Unable to select an item using select_list

2007-07-17 Thread rvishnubhotla
Hi, I am trying to select an item in the list using the code below but had no success. ie.select_list(:name, productId).select(Catalyst 6500) Can someone please point me to what I am missing. Thanks in advance, -Radha Below is the HTML source