[Webtest] <WebTest> Question about tag selectForm

Marc Guillemot webtest@lists.canoo.com
Wed, 31 May 2006 23:57:43 -0700 (PDT)


Enfin un francophone sur cette liste ! ;-)

Doesn't your form contain other fields? If you set an other field, it
automatically selects the form.

I think that your are right and that <selectForm> should have an htmlId
attribute (as well as an xpath attribute) to give the same functionality as
other steps.

As a workaround, you can use an xpath to click the button:
<clickButton xpath="//form[@id='form_OK']//input[@type = 'submit']"/>

Marc.
--
View this message in context: http://www.nabble.com/%3CWebTest%3E+Question+about+tag+selectForm-t1711154.html#a4657395
Sent from the WebTest forum at Nabble.com.