SDK Class
The UFT Developer SDK base class.

C# Syntax

public class SDK 
Example
// The following code example configures an address for the server. 

static void Main(string[] args)
{
    // Initialize the SDK and UFT Developer HTML report once per process.
    SDK.Init(new SdkConfiguration
    {
        ServerAddress = new Uri("ws://myServerAddress:5095")
    });
    Reporter.Init(new ReportConfiguration());

    //Put your test code here.

    //Generate the report.
    Reporter.GenerateReport();
    // Cleanup the SDK usage.
    SDK.Cleanup();
}
Inheritance Hierarchy

System.Object
   HP.LFT.SDK.SDK

Public Constructors
 NameDescription
Public ConstructorSDK Constructor  
Top
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)ConfigurationThe SDK configuration.  
Public Propertystatic (Shared in Visual Basic)IsServerReadyIndicates whether the runtime engine is ready for communication connections.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)CleanupPerforms an SDK cleanup when connection ends.  
Public Methodstatic (Shared in Visual Basic)InitInitializes the SDK with the specified configuration.  
Top