Share this page

com.hp.lft.sdk

## Interface SDKConfiguration

- All Known Implementing Classes:
    ModifiableSDKConfiguration

      public interface SDKConfiguration

  Defines the configuration information for the SDK.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `getAutoLaunch()` Indicates whether the UFT Developer runtime engine is set to launch on UFT Developer SDK initialization.
    `int` | `getConnectTimeoutSeconds()` Returns the maximum time (in seconds) to try to connect to the runtime engine.
    `int` | `getResponseTimeoutSeconds()` Returns the maximum time (in seconds) to wait for a response to any command sent to the runtime engine.
    `SDKMode` | `getSDKMode()` Returns the the SDK run mode.
    `java.net.URI` | `getServerAddress()` Returns the UFT Developer runtime engine URL to use for the default session.

- - ### Method Detail

    - #### getServerAddress

          java.net.URI getServerAddress()
                                 throws java.net.URISyntaxException

      Returns the UFT Developer runtime engine URL to use for the default session.
      Returns:
        the UFT Developer runtime engine URL to use for the default session.
      Throws:
        `java.net.URISyntaxException` - if the syntax of the URI is invalid.

    - #### getConnectTimeoutSeconds

          int getConnectTimeoutSeconds()

      Returns the maximum time (in seconds) to try to connect to the runtime engine.
      Returns:
        the maximum time (in seconds) to try to connect to the runtime engine.

    - #### getResponseTimeoutSeconds

          int getResponseTimeoutSeconds()

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

    - #### getAutoLaunch

          boolean getAutoLaunch()

      Indicates whether the UFT Developer runtime engine is set to launch on UFT Developer SDK initialization. Note: Relevant only for local runs. When running remotely, the value should be false.
      Returns:
        true if the UFT Developer runtime engine is set to launch on UFT Developer SDK initialization, false otherwise.

    - #### getSDKMode

          SDKMode getSDKMode()

      Returns the the SDK run mode.
      Returns:
        the current SDK mode.

Tips to improve your search results... UFT Developer Java 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: