Markus, I have to admit that I don't understand what you're asking. In particular
> Sometimes I do not know the XPath of an element in advance and I was searching for a > method to retrieve the XPath for given attribute value. In "advance" of what? Are you trying to determine the Xpath at test time? > It is sufficient to know that a XPath exists. I do not need necessarily to know the > XPath itself. Can you rephrase this? It doesn't make sense to me. -- Jonathan Rosenberg Founder & Executive Director, Tabby's Place http://www.tabbysplace.org/ -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Markus Wildi Sent: Monday, August 02, 2010 1:00 AM To: [email protected] Subject: [Webtest] reverse verifyXPath: verifyText Hello I'm quite new to canoo WebTest. Sometimes I do not know the XPath of an element in advance and I was searching for a method to retrieve the XPath for given attribute value. It is sufficient to know that a XPath exists. I do not need necessarily to know the XPath itself. That means instead of <verifyXPath description="simple match with value" xpath="/html/head/title" text="Canoo WebTest"/> something like <verifyText description="Test if an XPath exists" text="Canoo WebTest"/> regardless if the text appears multiple times. Ragrads, Markus _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

