Skip to content

storeAlert (UI Automation - Manipulation)

Compatible with:
  • Purpose
  • Generated from getAlert()
  • The command will read the alert text and store it in specified variable.
  • Syntax
  • storeAlert(variableName)
  • Target
  • variableName - where the alert text will be stored.
  • Value
  • N/A
  • Return Value
  • It retrieves the message of a JavaScript alert generated during the previous action, or fail if there is no alert.

    Getting an alert has the same effect as manually clicking OK. If an alert is generated but you do not consume it with getAlert, the next QaSCRIBE action will fail.

 

Feedback and Knowledge Base