copy popup message
Obtain the message in a popup and store it in a variable.
This action may be used within the following project items: test modules and user-defined actions.
- variable: is used to hold the message displayed in the popup.
- timeout: maximum time (in seconds) to wait for the message in the popup to be obtained.
copy popup message does not include the click popup action. Hence you ought to explicitly call the click popup action following copy popup message.
You are testing a registration page.
- When the test leaves one or two some mandatory fields blank and clicks the Submit button, a popup appears to show the missing required fields, for instance, “The email address is required”.
- In the popup, the test will obtain the message and clicks the OK button.