[Webtest] DialogSteps uploaded to community web site

etienne studer webtest@lists.canoo.com
Sun, 15 Aug 2004 08:27:19 +0200


Hi Paul

I think it is great that you offer all your contributions including
documentation, download, etc. on the community site. Thanks!

Bye, Etienne



> -----Original Message-----
> From: webtest-admin@lists.canoo.com
> [mailto:webtest-admin@lists.canoo.com]On Behalf Of Paul King
> Sent: Sonntag, 15. August 2004 06:40
> To: webtest@gate2.canoo.com
> Subject: [Webtest] DialogSteps uploaded to community web site
>
>
>
>
> http://webtest-community.canoo.com/wiki/space/DialogSteps
>
> VerifyDialogText and SetConfirmDialogDefaults
>
> These custom steps allow verifying alert dialog text and working with
> and checking user confirm dialog text. The VerifyDialogText step
> supercedes the VerifyAlertText step adding support for confirm
> dialogs as well as alert dialogs.
>
> Examples:
>
> <!-- type="alert" is the default and could be left out, also
>       keep parameter says don't remove popups once checked -->
> <verifyDialogText stepid="check for any alert(s)"
>    type="alert" regex="true" text=".*" keep="true" />
>
> <!-- check for confirm dialog box -->
> <verifyDialogText stepid="check for any confirm"
>    type="confirm" regex="true" text=".*" />
>
> <!-- keep/remember last confirm text for later checking
>       and set upcoming confirms to fail -->
> <setConfirmDialogDefaults keeptext="true" response="false"
>    stepid="set confirm defaults to mimic user cancel" />
>
> <!-- set upcoming confirms to true -->
> <setConfirmDialogDefaults keeptext="false" response="true"
>    stepid="set confirm defaults to mimic user cancel" />
>
> Cheers, Paul.
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>