[Webtest] ClickButton without Button?

Petter Måhlén webtest@lists.canoo.com
Wed, 19 Apr 2006 14:13:06 +0200


Like this should work:

<groovy description="submit form">
  step.context.currentResponse.getFormByName('YOUR-FORM-NAME').submit()
</groovy>

HTH, 

Petter
 

> -----Original Message-----
> From: webtest-admin@lists.canoo.com 
> [mailto:webtest-admin@lists.canoo.com] On Behalf Of Ralf Müller
> Sent: Wednesday, April 19, 2006 2:09 PM
> To: webtest@lists.canoo.com
> Subject: [Webtest] ClickButton without Button?
> 
> I tried to test a form which consists only of one <input type=text> 
> without a button.
> In a normal browser, this is not a big problem - you just 
> fill out the 
> form and press return.
> How do you do this with webtest?
> 
> Best Regards,
> Ralf Müller
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
> 
>