[Webtest] clicklink with link titles containing umlauts

Dierk Koenig webtest@lists.canoo.com
Wed, 19 Mar 2003 13:08:09 +0100


Hi,

I guess you both tries the correct thing.
WebTest relays this to httpunit the find-link-by-name functionality.
Maybe some error with the encoding...

However, as a workaround you may want to use the
<clicklink href=...
that looks for href substrings.

cheers
Mittie


> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Goeschl Siegfried
> Sent: Mittwoch, 19. März 2003 11:49
> To: webtest@lists.canoo.com
> Subject: AW: [Webtest] clicklink with link titles containing umlauts
>
>
> Hi Dirk,
>
> I have the same problem now ... is there a solution?!
>
> Thanks in advance,
>
> Siegfried Goeschl
>
> -----Ursprüngliche Nachricht-----
> Von: Dirk Olmes [mailto:dirk.olmes@daedalos.com]
> Gesendet: Dienstag, 18. März 2003 09:58
> An: webtest@lists.canoo.com
> Betreff: [Webtest] clicklink with link titles containing umlauts
>
>
> 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/mXCel8O2gFoxo
> lIr92zt9g/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
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>