Move Test Plans Actions
Move Test Plans actions may be used to move one or more test plans between folders in the same ALM Test Repository, or to move one or more test plans to a different ALM Test Repository. This allows test plans to be archived at the end of a project.
Action Property | Description |
---|---|
Move Mode | This parameter should be left unset. |
Result | A Table dataset containing details of the moved test plans. |
Source | A Table parameter or dataset containing the IDs of the test plans to move. |
Source Root | A String parameter containing the root folder from which to move test plans. Path components should be separated with a backslash character (\), for example, Subject\Master. |
Tag Label | A String parameter which stores the label name of custom test field. The Tag Value value is written to the field for tests that have been moved. The Tag Label field is updated for moved tests in the target folder. |
Tag Value | A String parameter which stores a value that is written to the Tag Label field for tests that have been moved. The Tag Label field is updated for moved tests in the target folder. |
Target Root | A String parameter which contains the path of the target folder to which the test plans will be moved, starting with the Subject folder. Path components should be separated with a backslash character (\), for example, Subject\Projects\MyProject. |
TestRepository1 | A Test Repository parameter or dataset referring to the Source ALM Test Repository. |
TestRepository2 | A Test Repository parameter or dataset referring to the Target ALM Test Repository. |
Setting the TestRepository1 and TestRepository2 parameters to refer to the same ALM Test Repository allows tests to be moved to a different folder in the specified project. The TestRepository1 and TestRepository2 parameters must point to ALM instances of the same version.
The Source table should have the following column:
Column | Description |
---|---|
SOURCE_TEST_PLAN_ID | The ID of a test plan from the Source Root folder. |
The Result dataset has the following columns:
Column | Description |
---|---|
SOURCE_TEST_PLAN_ID | The ID of a test plan that was moved. |
TEST_PLAN_NAME | The name of the test plan. |
SOURCE_TEST_PLAN_PATH | The path from which test plan was moved. |
TARGET_TEST_PLAN_ID | The ID of the target test plan. |
TARGET_TEST_PLAN_PATH | The path to which test plan was moved. |
STATUS | This column is set to ‘Moved’ if the test plan was moved successfully, or to ‘Already Exists’ if the test plan was not moved because it already exists in the target folder. |
Example: