assertNotPrompt (UI Automation - Interrogation)
- Purpose
- Generated from getPrompt()
- Successful handling of the prompt requires prior execution of the answerOnNextPrompt command. If a prompt is generated but you do not get/verify it, the next Selenium action will pass.
- Syntax
- assertNotPrompt(pattern)
- Target
- pattern - The value to be verified in the prompt.
- Value
- N/A
- Return Value
- The message of the most recent JavaScript question prompt.