Share this page

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

| Name | Description
--- | --- | ---
| SDK Constructor |

Top
Public Properties

| Name | Description
--- | --- | ---
| Configuration | The SDK configuration.
| IsServerReady | Indicates whether the runtime engine is ready for communication connections.

Top
Public Methods

| Name | Description
--- | --- | ---
| Cleanup | Performs an SDK cleanup when connection ends.
| Init | Initializes the SDK with the specified configuration.

Top

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: