Configure tests - Examples
You can configure your tests by using test configuration parameters to set values. For basic information on the creation of test case parameters and configurations refer to see chapter "About test configuration parameters".
Example: file paths
An example for test configuration parameters is the definition of program paths in various operating systems. If you want to execute a test using both Windows XP and Windows 7, then various program paths must be stored.
Procedure
Test configuration parameter in TestCase
The test configuration parameter is copied to the ExecutionLists.
Configuration parameter in the ExecutionList |
Example: configure Appium
You can configure your mobile tests with reusable mobile configurations. The Mobile Engine 3.0automatically creates mobile configurations when you scan a mobile application. However, you can also create mobile configurations manually in the Configurations section. To do so, follow the steps below:
-
In Tosca Commander, go to the Configurations section.
-
Under Mobile, create a new configuration tree (see chapter "Create configurations").
-
Add mobile TCPs that you want to use to configure your tests. For more information, see chapter "Configure mobile tests".
The TCPs that you add on higher levels of your configuration tree are automatically inherited by lower levels.
-
Drag and drop the new configuration onto an ExecutionList or a TestCase where you want to use the TCPs you have specified.
In this example, you configure your mobile test for Sauce Labs and GigaFox.
Configurations for Sauce Labs
Configurations for GigaFox |