Form test step: Click Modal Button

Clicks a button on a modal UI dialog window.

This step validates three conditions:
  • the specified UI page was opened in a modal dialog
  • the specified button is inside the modal dialog
  • the specified button is visible and enabled

If any of the above validations fail, the step fails.

This step only succeeds if a modal dialog is currently open on the form, and if the specified button id exists on that modal dialog.

Include this step in your test after a Set Field Values step triggers a modal dialog that must be closed before performing more edits or assertions on the current form.

Table 1. Inputs
Field Description
Execution Order An integer specifying the order in which this step executes.

As you create steps, the system automatically assigns each step an incremental value. This causes the test to execute steps in the order in which you created them. You can change this default order by editing the Execution Order values.

Active If this step is active true. Otherwise, false.
Application The application scope in which the system will run this step.
Test (Read only.) The test to which this step belongs.
Step config The test step for this form.
Specify UI Page The UI modal dialog to test.
Click button The button to click.