[Webtest] Problem with clicking a link
Michael Habbert
Michael Habbert <Michael.Habbert@netpioneer.de>
Thu, 05 Jul 2007 15:08:10 +0200
Hi Stefan Seger,
Seger, Stefan wrote:
[...]
> I try to test a webapplication where we have a list of links (e.g. User=
,=20
> User Groups, Clients). In the source code this links are hrefs in a ta=
ble.
>=20
> =20
>=20
> I tried ClickLink. But then webtest says it isn=E2=80=99t a link and "T=
he xpath=20
> doesn't select a link but a 'class=20
> com.gargoylesoftware.htmlunit.html.UnknownHtmlElement'". Then I tried=20
> ClickButton, but here webtest also says it=E2=80=99s no button. And Cli=
ckElement=20
> does nothing. There is no error message but the click will not be=20
> performed (I=E2=80=99ve checked this with verifyText and he is still on=
the same=20
> page as before).
[...]
please provide us with some more information about the html-code and the =
test.
--=20
Mit freundlichen Gr=C3=BC=C3=9Fen
Michael Habbert