[Webtest] Button tag support for Clickbutton
Ammann Kuno
webtest@lists.canoo.com
Wed, 17 Sep 2003 20:12:11 +0200
we are working a lot with buttons with type=3D"button" and i therefore =
was
looking in the mailings regarding problems/issues. if i try to catch the
submit button everything is working fine, but with the normal button i
do get the failure message (see below). does anyone know what the
current state is, also regarding the broken issue dicussion in
http://lists.canoo.com/pipermail/webtest/2003q1/000502.html
thx for your support
kuno
my test html includes:
<input type=3D"submit" name=3D"buttonSubmit" value=3D"Submit">
<input type=3D"BUTTON" name=3D"doLinkButton" value=3D"DO onClick"
onClick=3D"doLinkButton('WebTestExample','showPopUp');">
my webtest xml:
<steps>
&login;
<invoke stepid=3D"Invoke WebTestExample"
url=3D"lear.servlet.MainServlet?OBC=3Dch.ubs.skp.lear.bc.WebTestExample&a=
mp;
FID=3DshowEdit"/>=20
<clickbutton stepid=3D"doLinkButton"
name=3D"doLinkButton" />
</steps>
related webtest failure message:
com.canoo.webtest.engine.StepFailedException: Button with name
<doLinkButton> and value <<not specified>> not found!, Step: ClickButton
at file:C:/Daten/QPtesting/webtest.canoo.com/lear/lear.xml:44: with
(stepId=3D"doLinkButton", name=3D"doLinkButton", =
stepType=3D"clickbutton")