Thanks Tony,
It's very usefull and work well for us now.
2008/10/21 Tony [EMAIL PROTECTED]
Hi Wiston,
Here's something that iam using ...
module Watir
class IE
def calculateXpath(object)
s =
curr = object
s = /#{curr.invoke(tagName)}[#{getIndex(curr)}] + s
par
Hi Wiston,
Here's something that iam using ...
module Watir
class IE
def calculateXpath(object)
s =
curr = object
s = /#{curr.invoke(tagName)}[#{getIndex(curr)}] + s
par = curr.invoke(parentElement)
while par.invoke(tagName).downcase != body
s =