click on next popup

Description

Click a specified button in a prompt, alert, or confirmation popup.

Arguments

Valid contexts

This action may be used within the following project items: test modules and user-defined actions.

Notes

Applicable Built-In Settings

The following settings are applicable to this action: remove double quotes from cells.

Applicable Controls

This action is applicable to the following controls: none.

Example - Case 1: A single popup

Scenario: You are testing a shopping cart page with a button, Delete this item, for removing an item from your cart:

  1. Upon clicking the button, a confirmation popup appears with the message Do you want to delete this item?. Two buttons, OK and Cancel, are displayed.
  2. In the popup, the OK button is clicked.

Action Lines

Result

Example - Case 2: A sequence of multiple popups

Scenario: You are testing a shopping cart page with a button, Delete this item, for removing an item from your cart:

  1. Upon clicking the button, a confirmation popup appears with the message Do you want to delete this item?. Two buttons, OK and Cancel, are displayed.
  2. In the popup, the OK button is clicked.
  3. This triggers an alert popup with the message Item deleted, and a single OK button.
  4. The test clicks OK in the alert to dismiss it and proceed.

Action Lines

Result

Related information

enter text on next popup

get popup message

get popup default text

check popup message

check popup default text

clear popup queue


Copyright © 2023 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333