| TestFactory Object : 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).
| Visual Basic |
|---|
Public Function AddItem( _ ByVal ItemData As Variant _ ) As Object |
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).
| 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. |