Hi!

If the text below is contained in a table, you can do this:

my_table = browser.table(:id, 'table_id')

my_table.rows.each do |row|
  if row.text.include?('7E.01.73.6D.40.50.CE.D5')


On Nov 19, 2:53 pm, xguarder <shams...@gmail.com> wrote:
> Hi, I have the following on my page...
>
> 8068    7E.01.73.6D.40.50.CE.D5         Recorded: 10/29/09              Delete
> 8067    7E.01.73.6D.40.4F.CE.CE         Recorded: 10/29/09              Delete
> 8065    7E.01.73.6D.40.4E.CE.C7         Recorded: 10/29/09              Delete
>
> All the "Delete's" above are links. All have the same href (and text
> obviously). My question is, using FireWatir, what would be the best
> way to hone in a specific item to delete? I am particularly interested
> in a scenario where I know ahead of time which entry to delete based
> on the code in the 2nd column, then selecting the delete link that
> follows that text entry.
>
> Also, while I'm at it, I would like to be able to retrieve any other
> surrounding column of text too, such as the recorded date timestamp in
> the 3rd column above.
>
> Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to