Test Object
Description
The open test or business component.
Object Model
Test Object Actions Collection Action Object Action Object ActionParameterDefinitions Collection ActionParameterDefinition Object Action Object ObjectRepositories Collection DataTable Object Environment Object LastRunResults Object DataTable Object ParameterDefinitions Collection ParameterDefinition Object TestSettings Object JavaSettings Object Launchers Collection LocalSystemMonitorSettings Object LogTrackingSettings Object Recovery Object Resources Object RunSettings Object WebSettings Object WSSettings Object
Example
Public Methods
Public Method AddNewAction Creates a new action with the specified script content and adds call to it from the test.
Public Method CheckIn Checks in a test or component to the ALM version control system.
Public Method CheckOut Checks out a test or component from the ALM version control system.
Public Method Close Closes the current test or business component and opens a new, blank test or component.
Public Method Continue Continues the run session.
Public Method GetAssociatedAddins Retrieves the list of add-ins associated with the test or business component.
Public Method Pause Pauses the run session.
Public Method Run Runs the open test or business component and creates results in the specified file or ALM path.
Public Method RunAction Runs a specific action from the open test and creates results in the specified file or ALM path.
Public Method RunDebug Runs the open test or business component in debug mode and creates results in the specified file or ALM path.
Public Method Save Saves the test or business component.
Public Method SaveAs Saves the test or business component with a new name.
Public Method SaveTestWithResources Saves the test with its resources.
Public Method SetAssociatedAddins Specifies the list of add-ins associated with the test or business component.
Public Method Stop Stops the run session.
Public Method UpdateRun Runs the test or business component in update mode.
Public Method ValidateAddins Indicates 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 Actions Returns an Actions collection representing all actions called in this test.
Public Property Author The name of the author of the open test or business component.
Public Property CreatedInVersion The UFT version in which the testing document was created.
Public Property CreatedOnDate The date and time when the testing document was created.
Public Property DataTable Returns 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 Description The textual description of the test or business component.
Public Property Environment Returns an Environment object, which enables you to set the values of environment variables.
Public Property IsNew Indicates whether the test or business component is currently untitled.
Public Property IsRunning Indicates whether the open test or business component is currently running.
Public Property LastRunResults Returns the LastRunResults object, which contains the most recent run results for the test or business component.
Public Property Location The location (file or ALM path) of the test or business component.
Public Property Modified Indicates whether the test or business component has been modified since it was last saved.
Public Property ModifiedInVersion The UFT version in which the testing document was last modified.
Public Property ModifiedOnDate The date and time when the testing document was last modified.
Public Property Name The name of the open test or business component.
Public Property ParameterDefinitions Returns the ParameterDefinitions collection defined for the test or business component.
Public Property Settings Returns a TestSettings object, which enables you to configure test- and component-specific settings.
Public Property VerCtrlStatus The test status for the version controlled test.
See Also