verifyPrompt (UI Automation - Interrogation)
Compatible with:
- Purpose
- Generated from getPrompt()
- This command is used to verify the message of a JavaScript question prompt dialog generated during the previous action.
- Successful handling of the prompts requires prior execution of the answerOnNextPrompt command.
- Syntax
- verifyPrompt(pattern)
- Target
- pattern - The value to be verified.
- Value
- N/A
- Return Value
- The message of the most recent JavaScript question prompts