Automation Guide
Action-based testing language
TestArchitect Automation Classes
Automation classes
AbtEntity
The requested page is not available for selected version.
ExecuteScript
Syntax
long ExecuteScript(string script, string language)
Description
Execute JavaScript code of a specified web page, or inline JavaScript.
Parameters
script
The code to be executed.
language
The language in which the code is executed. The language defaults to JScript.
Note that, TestArchitect only supports JavaScript
Return Value
Return 0 if successful; otherwise, -1.
Applicable platforms
- Web applications
Notes
- This function is currently supported only by the C# and Java harnesses.