Table of Contents

Class SdkConfiguration

Namespace
HP.LFT.SDK
Assembly
HP.LFT.SDK.dll

Class for defining the SDK configuration information. This class is supplied for the SDK.Init(SdkConfiguration) method.

public class SdkConfiguration : BaseConfiguration, ISdkConfiguration
Inheritance
SdkConfiguration
Implements

Remarks

The SdkConfiguration settings can be used to override the settings in the test project's app.config file.

Constructors

SdkConfiguration()

Initializes a new instance of the SdkConfiguration class with the default configuration.

public SdkConfiguration()

SdkConfiguration(Assembly)

Initializes a new instance of the SdkConfiguration class that reads information from the specified Assembly.

public SdkConfiguration(Assembly assembly)

Parameters

assembly Assembly

The Assembly containing the Exe application information.

Exceptions

ArgumentNullException

Properties

AutoLaunch

Indicates whether the runtime engine is launched on OpenText Functional Testing for Developers SDK initialization.

public bool AutoLaunch { get; set; }

Property Value

bool

ConnectTimeoutSeconds

Maximum time (in seconds) to try to connect to the runtime engine.

public int ConnectTimeoutSeconds { get; set; }

Property Value

int

Mode

Indicates the SDK run mode. Possible values: SDKMode. Default = Replay

public SDKMode Mode { get; set; }

Property Value

SDKMode

ResponseTimeoutSeconds

Maximum time (in seconds) to wait for a response to any command sent to the runtime engine.

public int ResponseTimeoutSeconds { get; set; }

Property Value

int

ServerAddress

The runtime engine URL to use for the default session.

public Uri ServerAddress { get; set; }

Property Value

Uri