Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store

Form test step: Click Modal Button

Log in to subscribe to topics and get notified when content changes.

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 id attribute of the button element. For example, the OK button has an id of OK_button in the modal UI dialog window.