runScriptAndWait (UI Automation - Manipulation)
Compatible with:
- Purpose
- This command creates a new "script" tag in the body of the current test window, and adds the specified text into the body of the command. Scripts run in this way can often be debugged more easily than scripts executed using QaSCRIBE's "getEval" command. Beware that JS exceptions thrown in these script tags aren't managed by QaSCRIBE, so you should probably wrap your script in try/catch blocks if there is any chance that the script will throw an exception.
- Syntax
- runScriptAndWait(script)
- Target
- locator
- Value
- N/A
- Return Value
- N/A