Hello, 
 
I have an HTML page that contains the following code: 
 
<li><span class="errorMessage">Wählen Sie eine Option aus.</span></li> 
 
With this code, the following verification step succeeds: 
 
<verifyText text='Wählen Sie eine Option aus.'/> 
 
However, I also want to verify that this text is surrounded by the <span 
class="errorMessage"> element, so I'm trying to use the following verifyXPath 
step: 
 
<verifyXPath xpath="//sp...@class='errorMessage' and text()='Wählen Sie eine 
Option aus.']"/> 
 
The XPath expression is correct, but the step fails because there is a problem 
with the umlaut character. I have tried several replacements for the ä in the 
XPath expression, e.g. &auml; and #xe3;, but the step keeps failing. 
 
What can I do? 
 
Regards, 
Beat
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to