assertPrompt (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
- assertPrompt(pattern)
- Target
- pattern
- Value
- N/A
- Return Value
- The message of the most recent JavaScript question prompts