Open topic with navigation

com.hp.lft.sdk

## Interface AlmRunInfo

-     public interface AlmRunInfo

  An object that includes test or business component information originating from ALM.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `BusinessComponentRunInfo` | `getBusinessComponentRunInfo()` Returns the business component run information.
    `java.lang.String` | `getDomainName()` Returns the ALM domain name.
    `java.util.Map<java.lang.String,java.lang.Object>` | `getParameters()` Returns the test parameters as defined in ALM for regular tests and business components.
    `java.lang.String` | `getProjectName()` Returns the ALM project name.
    `int` | `getRunId()` Returns the ALM test run ID.
    `java.lang.String` | `getRunName()` Returns the test run name as defined in ALM.
    `java.lang.String` | `getServerUrl()` Returns the ALM server URL.
    `java.lang.String` | `getTesterName()` Returns the name of the user running the test.
    `int` | `getTestId()` Returns the ALM test ID.
    `int` | `getTestInstanceId()` Returns the ALM test instance ID.
    `java.lang.String` | `getTestName()` Returns the test name as defined in ALM.
    `int` | `getTestSetId()` Returns the ALM test set ID.
    `java.lang.String` | `getTestSetName()` Returns the ALM test set name.
    `RunningLeanFtTestType` | `getTestType()` Returns a RunningLeanFTTestType type indicating the running test Type.

- - ### Method Detail

    - #### getTesterName

          java.lang.String getTesterName()

      Returns the name of the user running the test.
      Returns:
        the name of the user running the test.

    - #### getRunId

          int getRunId()

      Returns the ALM test run ID.
      Returns:
        the ALM test run ID.

    - #### getTestId

          int getTestId()

      Returns the ALM test ID.
      Returns:
        the ALM test ID.

    - #### getTestName

          java.lang.String getTestName()

      Returns the test name as defined in ALM.
      Returns:
        the ALM test name.

    - #### getTestSetId

          int getTestSetId()

      Returns the ALM test set ID.
      Returns:
        the ALM test set ID.

    - #### getTestSetName

          java.lang.String getTestSetName()

      Returns the ALM test set name.
      Returns:
        the ALM test set name.

    - #### getTestInstanceId

          int getTestInstanceId()

      Returns the ALM test instance ID.
      Returns:
        the ALM test instance ID.

    - #### getRunName

          java.lang.String getRunName()

      Returns the test run name as defined in ALM.
      Returns:
        the ALM test run name.

    - #### getDomainName

          java.lang.String getDomainName()

      Returns the ALM domain name.
      Returns:
        the ALM domain name.

    - #### getProjectName

          java.lang.String getProjectName()

      Returns the ALM project name.
      Returns:
        the ALM project name.

    - #### getServerUrl

          java.lang.String getServerUrl()

      Returns the ALM server URL.
      Returns:
        the ALM server URL.

    - #### getParameters

          java.util.Map<java.lang.String,java.lang.Object> getParameters()

      Returns the test parameters as defined in ALM for regular tests and business components.
      Returns:
        the ALM test parameters.

    - #### getBusinessComponentRunInfo

          BusinessComponentRunInfo getBusinessComponentRunInfo()

      Returns the business component run information. If the test is not a business component, returns NULL.
      Returns:
        The business component run information. If the test is not a business component, returns NULL.

    - #### getTestType

          RunningLeanFtTestType getTestType()
                                     throws GeneralLeanFtException

      Returns a RunningLeanFTTestType type indicating the running test Type.
      Returns:
        a RunningLeanFTTestType type indicating the running test Type.
      Throws:
        `GeneralLeanFtException`