UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
SDK Class
Example 
The LeanFT SDK base class.
Syntax
public class SDK 
Example
// The following code example configures an address for the server. 

static void Main(string[] args)
{
    // Initialize the SDK and LeanFT 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.  
Public Propertystatic (Shared in Visual Basic)TypeRegistryThe SDK type registry.  
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