Skip to main content

Paths and Default Directory

Unified Test Platform works well in a distributed environment where developers and QA engineers run tests within any directory structure (i.e. wherever they've checked out the project files). Unified Test Platform TestScenario test orchestration documents determine the default directory path for test resources. The following options override the default directory and other elements in the TestScenario. For example, consider the following directory structure:

ScenarioDirectory- Scenarios- - MyScenario.xml- Resources- - resource.csv

Appvance Unified Test Platform provides a {scenario} operator that resolves to the path of the TestScenario document. This operator may be used in the <defaultdirectory> element, in <resource> elements, and in individual resource paths. For example, use the above resource.csv with

path="{scenario}/../Resources/resource.csv"

The following is also valid:

Defaultdirectory ="{scenario}/../" and path="Resources/resource.csv"