UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
RunJavaScript(String) Method
The JavaScript code to run.
Runs the given JavaScript code in the frame's context and returns the result.
Syntax
string RunJavaScript( 
   string scriptToRun
)

Parameters

scriptToRun
The JavaScript code to run.

Return Value

The result of running the JavaScript code as a string.