Skip to content

waitForPrompt(UI Automation - Synchronization)

  • Purpose
  • Generated from getPrompt()
  • 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. 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
  • waitForPrompt(pattern)
  • Target
  • Pattern
  • Value
  • N/A
  • Return Value
  • Waits for the message of the most recent JavaScript question prompts
 
 
 
 
 
 

Feedback and Knowledge Base