Skip to content

storePrompt (UI Automation - Manipulation)


Compatible with:
  • Purpose 
  • Generated from getPrompt(locator)
  • This command is used to store 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. If a prompt is generated but you do not get/verify it, the next QaSCRIBE action will fail.

    NOTE: under QaSCRIBE, JavaScript prompts will NOT pop up a visible dialog.

    NOTE: QaSCRIBE does NOT support JavaScript prompts that are generated in a page's onload() event handler. In this case, a visible dialog WILL be generated and QaSCRIBE will hang until someone manually clicks OK.
  • Syntax
  • storePrompt(variableName)
  • Target
  • variableName - A variable to store.  
  • Value
  • N/A
  • Return Value
  • The message of the most recent JavaScript question prompts.
 

Feedback and Knowledge Base