Lets say we have the following
Table
.TR
..TD
..TD
...SPAN text=findme
..TD
...Text Input Field
The only element in this entire section that I can identify uniquely is the
span. The span happens to be located within a table. That table also contains
the text input field (my real goal). So is there a way to find out what the
table index is that contains a span? To explain it another way, here is some
fake code.
table_index = $ie.frame('frame1').span(:text,'findme').get_parent_table_index()
$ie.frame('frame1').table(:index,table_index)[1][3].text_field(:index,
1).set('i did it!')
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5270&messageID=14638#14638
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general