Table of Contents

Class SdkConfiguration

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

Inheritance
SdkConfiguration
Implements
ISdkConfiguration
Namespace: HP.LFT.SDK
Assembly: HP.LFT.SDK.dll
Syntax
public class SdkConfiguration : BaseConfiguration, ISdkConfiguration
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.

Declaration
public SdkConfiguration()

SdkConfiguration(Assembly)

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

Declaration
public SdkConfiguration(Assembly assembly)
Parameters
Type Name Description
Assembly assembly

The Assembly containing the Exe application information.

Exceptions
Type Condition
ArgumentNullException

Properties

AutoLaunch

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

Declaration
public bool AutoLaunch { get; set; }
Property Value
Type Description
bool

ConnectTimeoutSeconds

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

Declaration
public int ConnectTimeoutSeconds { get; set; }
Property Value
Type Description
int

Mode

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

Declaration
public SDKMode Mode { get; set; }
Property Value
Type Description
SDKMode

ResponseTimeoutSeconds

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

Declaration
public int ResponseTimeoutSeconds { get; set; }
Property Value
Type Description
int

ServerAddress

The runtime engine URL to use for the default session.

Declaration
public Uri ServerAddress { get; set; }
Property Value
Type Description
Uri

Implements

ISdkConfiguration