[Wtr-general] Accessing an id element with a table

Russ DeWolfe rdewolfe at Credant.com
Thu Apr 19 13:35:58 EDT 2007


I have finally found my Table cell that I want to click:
 
ie.table(:index,8)[3][5].click
 
However, this TD has an id, and when I try to access it by id like this:
ie.table(:id,'idinfo').click
watir/ruby cannot find the element, can anyone tell me the correct way
to get to this element by id?
 
I tried this too: ie.((table(:index,8)[3][5]))(:id,"idinfo').click
Russ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070419/11731f4c/attachment-0001.html 


More information about the Wtr-general mailing list