Artifact Editor
Test artifacts are edited using the Artifact Editor. The editor contains three tabs:
Overview
This tab provides an overview of the test artifact, including its general information, property groups, test assets, and general properties.
This tab contains the following sections:
-
General Information
Contains the test artifact's name, description, and file path within the workspace. The test artifact's name1 and description are editable.
-
Property Groups
Contains a link to the General Properties tab. Clicking the link will open the associated tab.
-
Test Assets
Contains links to the test assets, such as test suites and datapools, in the Test Assets tab. Clicking a link or the More... button will
open the Test Assets tab.
-
General Properties
Contains links to the general properties in the General Properties tab. Clicking a link or the More... button will
open the General Properties tab.
Note, the General Properties section will only appear if one or more general properties are associated with the test artifact.
[1] Test artifacts have a file name and logical name. The logical name is used in the
Test Navigator of the
Test Perspective, dialogs, editors, and wizards to represent the test artifact.
The file name represents the test artifact file (*.artifact) within the workspace. When the test artifact is created, the logical name defaults to the file name
(excluding the .artifact file extension) and may be modified without modifying the file name. The logical name allows customization of the test artifact name
without affecting the file name within the workspace.
Test Assets
This tab contains the list of test assets, such as test suites and datapools, associated with the test artifact.
Test assets can be added to the list by clicking the Add... button and select the test assets.
Selected test assets can be removed (Remove), moved up (Up), or moved down (Down).
General Properties
This tab contains the table of general properties associated with the test artifact. For example, the CLASSPATH general property contains local dependencies of the associated test suites.
When a test suite is executed, the following dependencies are deployed to the target host:
- Dependencies on the class path of the project containing the test suite, excluding *.java, *.execution, *.testsuite, *.deploy, *.location, and *.artifact.
- Dependencies on the CLASSPATH general property.
- Test assets associated with the test artifact.
Note, the General Properties tab will only appear if one or more general properties are associated with the test artifact.
General properties can be added to the table by clicking the Add... button and entering the property name, operator (=, !=, >, <, >=, or <=), and value.
All file paths are absolute and operating system dependent based on the local operating system.
Selected general properties can be removed (Remove), moved up (Up), or moved down (Down). Existing general properties may be edited by double-clicking
the general property in the table and and modifying the property name, operator, and/or value.
Related tasks
Creating an artifact