hi @ll,

in december I have start with webtest(1729) and create 10 Tests with ~300
Steps.
And everything was OK.
Only the easy one like clickLink, verifyText and verifyXPath.
One of them:
<verifyXPath description="Instrumentsuche"
xpath="/html/body/div[2]/div[2]/div[2]/div[1]/div[1]/ul/li/a"
text="[\s(Instrument Suche)\s]" regex="true"/>

Now I have changed to webtest(1738) and if I now run the old tests I get an
Error:
Message
Wrong result for xpath
>/html/body/div[2]/div[2]/div[2]/div[1]/div[1]/ul/li/a<
Details
expected value [\s(Instrument Suche)\s] 
actual value 

There are no changes on the website or in the tests.
If I put the xpath in the FF3 extension "XPath Checker" or "XPather" both
give me the expected value.

Why dosn't the "new" WebTest get the old an right value. 
Is there a bug in the new version or a mistake in my test?

thanks
Martin

-- 
View this message in context: 
http://www.nabble.com/WebTest-%281738%29-don%27t-like-xpath--tp21730384p21730384.html
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to