Re: [wtr-general] Help Installing Watir

2010-07-05 Thread Raveendran P
Hi, Are you trying to update behind PROXY ? On Sun, Jul 4, 2010 at 1:54 AM, Watir amkau...@hotmail.com wrote: So I have downloaded Ruby 186-26, and now I need help installing Watir. Every time in the command prompt I type gem update--system, it gives me a runtime error. Also when I type

Re: [wtr-general] click_no_wait, why so inconsistent?

2010-07-05 Thread Raveendran P
Hi, Pls hav a look at this http://raveendran.wordpress.com/2010/06/08/watir-click_no_wait-for-checkbox/ Thanks On Sat, May 22, 2010 at 5:18 AM, cslumension cslumens...@gmail.com wrote: Want to download files, using a click_no_wait method, which works great the first time it's called, but

[wtr-general] Re: Iterate through radio buttons

2010-07-05 Thread Shlomit Gazit
Hello Joe, Thank you for your help. The results are as follow: I dont need radios 10-15 for my test. #-# # Attributes of radio 1 #-# id: ID_LIMIT_OPTION_BUTTON alt: class: Watir::Radio enabled?: true getState: false innerText: isSet?: false

[wtr-general] Re: Iterate through radio buttons

2010-07-05 Thread joedio
This code should work, I mocked it up and ran as expected. $ie.radios.each_with_index do | radio, iIndex| # Adjust index as radios are 1 indexed and arrays are zero indexed iIndex = iIndex +1 if(($ie.radio(:index, iIndex).id == ID_OTHER_OPTION_BUTTON))

[wtr-general] Re: Iterate through radio buttons

2010-07-05 Thread joedio
I got your original code to work as well Joe $ie.radios.each do | oMyObject | if(oMyObject .id == ID_OTHER_OPTION_BUTTON) puts(yes) else puts(NO) end end -- Before posting, please read http://watir.com/support. In short: search before

[wtr-general] Recommendation Needed: FireWatir Scraping Framework

2010-07-05 Thread Eddie
Hello I am looking for recommendations on which scraping framework to use in conjunction with FireWatir. It seems that scRUBYt, which is very nice, is kind of dead. scraPY is very active, but I havent found anyone implementing FireWatir with scraPY. The target is heavily loaded with iframes and

[wtr-general] Re: Iterate through radio buttons

2010-07-05 Thread Chuck van der Linden
See commented line, then below On Jul 3, 11:33 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: Joe, For example I was trying: $ie.radios.each do | radio |           if($ie.radio(:id,ID_OTHER_OPTION_BUTTON)) ### This does the same thing every time             puts(yes)           else