Hi
 Iam trying to access the table cell through XPath wiht the following
expression

cell = ie.td(:xpath, "//td[contains(., 'Sales')]/") and get the
following error
undefined method `td' for #<Watir::IE:0x3b94b84> (NoMethodError)

Alternately if i change the expression as
cell = ie.element_by_xpath("//td[contains(text(), 'All
SalesOrders')]/") i always get a return value as NIL.

Is there a way to check if the xpath expression is correct?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to