Share this page

RunJavaScript(String) Method
Runs the specified JavaScript code in the page's context and returns the result.

C# Syntax

    string RunJavaScript(
       string scriptToRun
    )

Parameters

scriptToRun
  The JavaScript code to run.

Return Value

The JavaScript code to run.

Tips to improve your search results... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: