Skip to content

assertNotConfirmation (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Generated from getNotConfirmation() 
  • This command checks for the JavaScript confirmation dialogs.
  • Pass if there is no JavaScript confirmation dialog generated during the previous action. By default, the confirm function will return true, having the same effect as manually clicking OK. This can be changed by prior execution of the chooseCancelOnNextConfirmation command.
  • Syntax
  • assertNotConfirmation(pattern)
  • Target
  • pattern
  • Value
  • N/A
  • Return Value
  • Returns true if the message of the most recent JavaScript confirmation dialogs is present, false otherwise.  
 

Feedback and Knowledge Base