[Webtest] clicklink with link titles containing umlauts

Dirk Olmes webtest@lists.canoo.com
Tue, 18 Mar 2003 09:58:09 +0100


Hi,

I'm just trying to get going with WebTest. First of all let me say that 
WT is exactly what I've been thinking about for a long time.

Now on to the problem:

I have a hyperlink containing a title that has entity-encoded umlauts in 
it. Something like

<a CLASS="treenode" 
href="/cgi-bin/WebObjects.exe/ResultManagerDC.woa/wo/mXCel8O2gFoxolIr92zt9g/3.0.5.9.0.1">Pa&szlig;wort 
&auml;ndern</a>

Now how do I make the clicklink step recognize that link title? I've tried

<clicklink label="Pa&szlig;wort &auml;ndern" />

which gave me errors about XML Entities. Ok, escape them then:

<clicklink label="Pa&amp;szlig;wort &amp;auml;ndern" />

to no avail:

Test step clicklink named "Click auf Passwort aendern" failed with 
message "Step "Click auf Passwort
  aendern" (11/14): Link not found in page: <Pa&szlig;wort &auml;ndern>"

Err, what? This is exactly the text of the link above. I've tried 
substrings but this didn't work either.

Before I go down debugging WebTest, does anybody have an idea what I'm 
doing wrong?

TIA,

-dirk