[wtr-general] Re: Watir Support for Table Header TH elements?

2009-05-30 Thread karimnumerouno
yeh xpath is the way but for rubyists it is better if we use the HPRICOT library for screen scrapping very powerful On May 30, 4:32 am, Chuck van der Linden sqa...@gmail.com wrote: I have some things happening where I really need to be able to access things that are defined as a header row

[wtr-general] Re: Multiple Attributes for Text Fields

2009-05-30 Thread karimnumerouno
hi could any one share a link our some stuff of multi attribute selection, it there any doc there On May 30, 3:52 am, Al Snow jas...@hotmail.com wrote: Try this:http://wiki.openqa.org/display/WTR/Basic+Authentication Thanks, Al Snow Linkedin:http://www.linkedin.com/in/alsnow Google

[wtr-general] asset_enabled error to click a button

2009-05-30 Thread Venkat
I wrote a code to click on button ie.button(:id, action_button).click But I am getting following errors: C:\Documents and Settings\\Desktopruby two-minute.rb C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:57:in `assert_e abled': object id and action_button is disabled

[wtr-general] Re: asset_enabled error to click a button

2009-05-30 Thread Wesley Chen
I think it is not a common button, but defined in the css. You may try the xpath solution as below: ie.element_by_xpath(//butt...@id='action_button']/).click In fact, when you search in the Watir General, there are many discussion and solution about XPATH deal with, of course, if you are

[wtr-general] example problem

2009-05-30 Thread James
ok completely new to the world of ruby as well as programming The final goal is too scrape an ajax site... if I understand currently I need both watir and firewatir? I am trying to go through some online examples and am trying to complete the google_search.rb example that seems to be