[Wtr-general] Newbie - Unable to click link in a table
silver_altima at yahoo.com
silver_altima at yahoo.com
Thu May 4 09:23:24 EDT 2006
Hi,
using Ruby to automate my IE testing.
On this particular page, I have a table that is
displayed after a check box is selected\set. (there
are other tables on the page, but not important for my
testing)
The first column of this table are all links. (all the
links are the word "select") The first row is just
titles. I wish to access the second row, 1st column
and click on the link.
This does not work:
ie.table(:name,
'tableName')[2][1].link(:text,'Select').click
This does not work either:
ie.table(:index, 3)[2][1].click
I know I am using the right table names, etc.
I also did a showAllObjects...but the table names are
not listed there??? not quite sure why...
What else can I use to view all tables on the page?
Also, perhaps the code is being regenerated after the
check box is clicked...is there a way to reload the
code without refreshing the page itself???
Any help would be MOST appreciated !!
Thanks in advance...Lemme know if I can provide more
info if I missed anything...
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Wtr-general
mailing list