Test Object

Description

The open GUI test or business component.

Object Model

Test ObjectActions CollectionAction ObjectAction ObjectActionParameterDefinitions CollectionActionParameterDefinition ObjectAction ObjectObjectRepositories CollectionAPITests CollectionAPITest ObjectDataTable ObjectEnvironment ObjectLastRunResults ObjectDataTable ObjectParameterDefinitions CollectionParameterDefinition ObjectTestSettings ObjectJavaSettings ObjectLaunchers CollectionLocalSystemMonitorSettings ObjectLogTrackingSettings ObjectRecovery ObjectResources ObjectRunSettings ObjectWebSettings ObjectWSSettings Object

Example

Public Methods

Public Method AddExistingAction

(Versions 2021 and later)

Adds a call to an existing action from the current test.

Public Method AddExistingAPITest

(Versions 2021 and later)

Adds a call to an existing API test from the current test.
Public Method AddNewActionCreates a new action with the specified script content and adds call to it from the test.
Public Method CheckInChecks in a test or component to the ALM version control system.
Public Method CheckOutChecks out a test or component from the ALM version control system.
Public Method CloseCloses the current test or business component.
Public Method ContinueContinues the run session.
Public Method GetAssociatedAddinsRetrieves the list of add-ins associated with the test or business component.
Public Method PausePauses the run session.

Public Method RemoveAction

(Versions 23.4 and later)

Removes a call to a specified action from the current test.

Public Method RemoveAPITest

(Versions 23.4 and later)

Removes a call to an external API test from the current test.

Public Method ReplaceAPITest

(Versions 23.4 and later)

Replaces an external API test called from the current test with another API test.
Public Method RunRuns the open test or business component and creates results in the specified file or ALM path.
Public Method RunActionRuns a specific action from the open test and creates results in the specified file or ALM path.
Public Method RunDebugRuns the open test or business component in debug mode and creates results in the specified file or ALM path.
Public Method SaveSaves the test or business component.
Public Method SaveAsSaves the test or business component with a new name.
Public Method SaveTestWithResourcesSaves the test with its resources.
Public Method SetAssociatedAddinsSpecifies the list of add-ins associated with the test or business component.
Public Method StopStops the run session.
Public Method UpdateRunRuns the test or business component in update mode.
Public Method ValidateAddinsIndicates whether all add-ins associated with the open test or business component are currently loaded, that all interdependent add-ins are loaded, and that there are no conflicts between loaded add-ins.

Public Properties

Public Property ActionsReturns an Actions collection representing all actions called in this test.
Public Property AuthorThe name of the author of the open GUI test or business component.
Public Property CreatedInVersionThe OpenText Functional Testing version in which the testing document was created.
Public Property CreatedOnDateThe date and time when the testing document was created.
Public Property DataTableReturns the runtime data table, which enables you to modify the data that is used for the Data pane parameters in your test or ALM configuration.
Public Property DescriptionThe textual description of the test or business component.
Public Property EnvironmentReturns an Environment object, which enables you to set the values of environment variables.
Public Property IsNewIndicates whether the test or business component is currently untitled.
Public Property IsRunningIndicates whether the open test or business component is currently running.
Public Property LastRunResultsReturns the LastRunResults object, which contains the most recent run results for the test or business component.
Public Property LocationThe location (file or ALM path) of the test or business component.
Public Property ModifiedIndicates whether the test or business component has been modified since it was last saved.
Public Property ModifiedInVersionThe OpenText Functional Testing version in which the testing document was last modified.
Public Property ModifiedOnDateThe date and time when the testing document was last modified.
Public Property NameThe name of the open test or business component.
Public Property ParameterDefinitionsReturns the ParameterDefinitions collection defined for the test or business component.
Public Property SettingsReturns a TestSettings object, which enables you to configure test- and component-specific settings.
Public Property VerCtrlStatusThe test status for the version controlled test.