The Create Test view enables users to create Tests from one or more Test Specifications in a Test Scope. A Test represents one execution of the System Under Test (SUT) as part of a Test System according to a Test Specification.  The Create Test view itself is not configurable. It is hard-coded to use the SystemWeaver Test solution's meta model. 

However, users may want to use the Create a variant of an original test specification option which enables them to select a subset of Test Cases in a specification rather than including all of them, and also creates a variant of the original test specification instead of using the original in the Test when they create a Test. There is sometimes a need to remove a Test Case after a Test is created. If the option to create a variant is not used, a Test Case removed from a Test will be removed from the original Test Specification as well which may or may not be what you intended. The option uses a TestConfig which is configurable. This article describes how to configure the Test Feature. 


Example Test Development Data 

Example Test Execution Data

Example result of using the Create a variant of an original test specification option on "Adaptive cruise" Test Specification.

Configuring the Test Feature

  1. Go to File > Configure the explorer
  2. On the Features tab, select the Test option.
  3. Click View example XML and copy the script as a starting point for your configuration. 
  4. Click Edit configuration and paste the script in the Edit XML window.
  5. Modify the configuration to meet the needs of the use case. (See the explanation of available elements below.)
  6. Click Save or OK to save your changes.

Example Configuration


Explanation of the Configuration Elements

<TestConfig> is the top tag and can include one configuration. Multiple configurations are not supported.

<TestCaseVariantPartSIDs> specifies all parts needed to find features from a Test case, e.g., Exists for (ITXF), Variability (10VB)

<TestSystemVariantPartSID> indicates the part SID for the test system variant, e.g., Features (10IFE)

<TestSystemVariantContainerPartSID> indicates the part SID for the test system variant container, e.g., Test system configuration (ITST)

<TestSpecificationVariantPartSID> indicates the part SID for the test specification variant container, e.g., Variant of (TSVA)

Note: The swExplorer client must be completely closed after applying a new or modified TestConfig in order for it to be activated.