Skip to content

chooseCancelOnNextConfirmation (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • This command,by default, QaSCRIBE's overridden window.confirm() function will return true, as if the user had manually clicked OK; after running this command, the next call to confirm() will return false, as if the user had clicked Cancel. QaSCRIBE will then resume using the default behavior for future confirmations, automatically returning true (OK) unless/until you explicitly call this command for each confirmation.
  • Syntax
  • chooseCancelOnNextConfirmation()
  • Target
  • N/A
  • Value
  • N/A
  • Return Value
  • N/A
 

Feedback and Knowledge Base