ALM Open Test Architecture API Type Library Version 12.55
AddItem Method

There are three options for ItemData:

(0) Name - The test name (required).

(1) Type - The test type (string, optional). The possible test types are detailed in the table below.

(2) Tester - The name of the user that created the test (string, optional). The default value is the name of the user currently logged in (string, optional).

(3) SubjectID - The ID of the subject folder in which to create the test (long, optional).

Description
Creates a new item object.
Syntax
Visual Basic
Public Function AddItem( _
   ByVal ItemData As Variant _
) As Object
Parameters
ItemData

There are three options for ItemData:

  • Null. Initially creating a virtual Test object with Null ensures that you cannot then Post until all required fields are initialized.
  • The test name.
  • An array consisting of the following elements:

(0) Name - The test name (required).

(1) Type - The test type (string, optional). The possible test types are detailed in the table below.

(2) Tester - The name of the user that created the test (string, optional). The default value is the name of the user currently logged in (string, optional).

(3) SubjectID - The ID of the subject folder in which to create the test (long, optional).

Return Type
Remarks
                           Test Types  
Test Type Description
MANUAL Default. An ALM manual test.
WR-AUTOMATED A WinRunner automated test.
WR-BATCH A WinRunner batch test.
LR-SCENARIO A LoadRunner simulated environment test.
XR-AUTOMATED An XRunner automated test.
QUICKTEST_TEST An Astra QuickTest or QuickTest Professional test.
QTSAP-TESTCASE A QuickTest Professional for MySAP.com Windows Client test.
VAPI-XP-TEST A test to be performed by the API-XP test execution tool.
SYSTEM-TEST A test involving system actions.
DB-TEST A Vuser script test.
See Also

ITestFactory2 Interface  | ITestFactory2 Members