Hi Thomas,
thanks for your quick answer,
But no!  -> ">" does not work!
The Report on the webtest-result-page says:
-------------------------------
Details
available links

- label "" with url "/ags/loadMessages.do?messages2Display=userMessages" and id 
""
- label "" with url "/ags/loadMessages.do?messages2Display=roleMessages" and id 
""
- label "" with url "javascript:kw_void()" and id "nav-help"
- label "" with url "/ags/logout.do" and id "nav-info-logout"

-------------------------

All the links with a label starting with: ">2" are not recognized by webtest 
(label "" is identified).

So I guess it is not possible at all to identify/click Links identified by 
there label (if the label starts with >).

For now I do add a Id to the Link and identify the link using the id.
But should it work? Were do I post this issue? Htmlunit?

Greetings

Michael Habbert


Von: Thomas Klein [mailto:[email protected]]
Gesendet: Donnerstag, 25. Februar 2010 09:43
An: [email protected]; Habbert, Michael (Key-Work)
Betreff: RE: clickLink - HtmlElement Problem

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
[...]


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