Custom Test Types Interfaces

CreateScriptTemplateEx Method

Creates a script template for the specified test based on a template test.

Syntax

Visual Basic
Public Function CreateScriptTemplateEx( _
   ByVal TestKey As Long, _
   ByVal lTemplateID As Long, _
   ByRef LocalPath As String _
) As Long

Parameters

TestKey
The ID of the test for which the template is created.
lTemplateID
The ID of the template test the new script template is based on.
LocalPath

As input, pass the path on the local host in which to place the script. The path does not have to exist.

If the script is created and successfully loaded by the TestType object, and the database has been updated, the output value is an empty string.

If the upload and database update is performed by ALM rather than by the TestType object, the output value is the path in which the script was created and from which it is downloaded. This is not necessarily the same path as the input.

Return Type

An HRESULT.

Remarks

The test type object creates a script on the local client machine and uploads it to the server side test repository.

See Also

TestType Object


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