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

Parameters

scriptToRun
The JavaScript code to run.

Return Value

The JavaScript code to run.