Custom Test Types Interfaces

TestType Object

The interface between the testing tool and ALM. (Applies to COM Custom Test Types)

Remarks

Create a COM class named TestType that implements these methods and properties. 

The TestType object provides the interface between the testing tool and ALM. The Init method of the TestType object gets an IDispatch reference to a TDConnection object, used to access the ALM project database.

For more information about the TDConnection object, see ALM Open Test Architecture API Reference.

Example

Test Type Example

Public Methods

Public Method CanCreateScriptTemplate Indicates whether the test type supports creating script templates.
Public Method CreateScriptTemplate Creates a script template for the specified test.
Public Method CreateScriptTemplateEx Creates a script template for the specified test and assigns it to a template project.
Public Method GetBitmap Returns a bitmap to represent the testing tool and test status.
Public Method Init Initializes the TestType object.
Public Method ScriptViewerCLSID The class ID of the ScriptViewer class.

Public Properties

Public Property ExecConfigCLSID The class ID of the ExecConfiguration class.
Public Property LastErrorMessage The most recent error message.
Public Property RemoteAgentCLSID The class ID of the RemoteAgent class.
Public Property ResultViewerCLSID The class ID of the ResultViewer class.
Public Property TestingToolName The name of the testing tool.

See Also

TestType Overview


© 1993 - 2013 Hewlett-Packard Development Company, L.P.