SiteTest allows companies, whose corporate structure requires utilization of multiple test environments located on different servers, to execute any given test case or test set in any number of environments simultaneously with no need to perform modifications prior to execution in each of the environments.
To prepare a test case or test set for execution in multiple test environments, users have to declare all environments, in which a test case or test set should be executed, by creating an Environments table:
Go to the Project Settings tab.
Click on the Environment link in the Configuration pane.
In the Environment tab of the main pane create a data table consisting of data for all environments as shown below. Click here to get more information on creating and editing data tables.
The environment data table may have a more complex structure. For example, if each environment should be associated with a specific country or language, the environment table may look as shown below:
Once the Environments table is ready, it must be made accessible from the test case by writing the following first test case step:
Next, a user can create a step for loading an application under test, but instead of typing a URL or path in the parameter field, choose an appropriate parameter from the Parameters List.
Continue developing the test case. When it is complete and ready to be executed, select an appropriate test environment from the Environment drop-down list before clicking the Run button.
To execute a test case or a test set in several environments simultaneously, right after scheduling it for execution in one environment, repeat the scheduling procedure for other environments until the test case or the test set is scheduled for execution in all appropriate environments.