Hi Michael,

forgive me if this was checked already, but I was just wondering whether you 
perhaps have already tried to use ">" instead of the ">"... does that change 
anything?
For instance, you might want to try to use
<clickLink label="&gt; Abmelden"/>
...or in case there is a non-breaking space between the ">" and the literal:
<clickLink label="&gt;&nbsp;Abmelden"/>
The exact string might be retrievable from looking at the webpage's HTML source 
(e.g. using "view source" in your browser)

HTH,

Thomas Klein
Senior Associate QA | SapientNitro

________________________________
From: [email protected] [mailto:[email protected]] On 
Behalf Of Habbert, Michael (Key-Work)
Sent: Wednesday, February 24, 2010 5:07 PM
To: [email protected]
Subject: [Webtest] clickLink - HtmlElement Problem

Hi Developer,

I'm still analysing the problems we do have using the actual webtest build.

There is a problem with the <clickLink-step> in Webtest which I tracked down is 
linked to the htmlunit-core (I think).

With an older webtest-release - we do use in production (R_1724) - clickLink 
works as expected.

But now clickLink does not identify Links in the currentResponse (HtmlPage) 
which label looks like "> Logout" (in fact all Links with a label starting with 
">" are not recognized by webtest aka htmlunit.

<clickLink label="> Abmelden"/>

This webtest-step will never succeed, as it seem to me.

Can confirm my observation?

Thanks,

Michael Habbert


Michael Habbert
Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | 
www.key-work.de<http://www.key-work.de>
Fon: +49-721-78203-269 | E-Mail: 
[email protected]<mailto:[email protected]> | Fax: 
+49-721-78203-10

Key-Work Consulting GmbH, Karlsruhe, HRB 108695, HRG Mannheim
Geschäftsführer: Andreas Stappert, Tobin Wotring

Reply via email to