[Webtest] clickbutton
Petter Måhlén
webtest@lists.canoo.com
Wed, 19 Apr 2006 11:03:47 +0200
I haven't tried it, but does
http://webtest.canoo.com/webtest/manual/expectDialog.html solve your
problem?
/ Petter
> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com] On Behalf Of Mark McKeown
> Sent: Wednesday, April 19, 2006 11:01 AM
> To: webtest@lists.canoo.com
> Subject: [Webtest] clickbutton
>
> I am running a CANOO test using Webtest 2.0 (R1217).
>
> I have a scenario where I click a 'Delete' button on a page
> and a pop-up dialogue box appears: "Are you sure you want to
> delete?" with two buttons in the box: "Yes" and "No".
>
> Using webtest-buildR574 the clickbutton command seemed to
> automatically click the "Yes" button in the pop-up box but
> this does not appear to be the case when I use Webtest R1217.
>
> Can anyone suggest how I can make my test click "Yes" in the
> pop-up dialogue box so that I can test the next page.
>
> I am using:
>
> <clickbutton label="${button.delete}" stepid="Click button Delete"/>
>
> Much appreciated,
> Mark
>
>
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
>