When we have multiple tables inside tables then accessing it becomes tough. For ex. if the xpath for an element is like '/html/body/table/tbody/tr/td/table[2]/tbody/tr[5]/td[2]/table/tbody/tr/td' then we can get the element using Watir::IE.table(:index, 4)[1][1]
Monday, June 23, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment