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 TypeMethod and Description
      booleangetAutoLaunch()
      Indicates whether the UFT Developer runtime engine is set to launch on UFT Developer SDK initialization.
      intgetConnectTimeoutSeconds()
      Returns the maximum time (in seconds) to try to connect to the runtime engine.
      intgetResponseTimeoutSeconds()
      Returns the maximum time (in seconds) to wait for a response to any command sent to the runtime engine.
      SDKModegetSDKMode()
      Returns the the SDK run mode.
      java.net.URIgetServerAddress()
      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.