Test run considerations for AFT Suites
Before you configure an AFT Suite run, you must read the considerations you must take into account.
If... | Then... |
---|---|
The AFT Suite uses the settings configured in an AFT XML file for a remote agent |
You must ensure that you have configured the location element in the AFT XML to point to a remote agent. For more information about setting the location element, refer to Using an XML file to run multiple Web UI tests and compound tests simultaneously. |
You want to run an AFT Suite on a remote agent |
You must run the test on the remote agent before you commit the test asset to the remote repository. When you run the test on the remote agent, the following events occur:
|
You commit the test asset to the remote repository without running the test on the remote agent |
The agent is not displayed under the Host column within the Location tab in the Execute test asset dialog box. |
- Add the remote agents, on which the test is to be run, to the project on Rational® Test Automation Server. See Adding an agent to the project for running tests.
- After you add the agent, you can select the agent configured in the AFT XML file as the location for the test run or select the remote agents that you add to the project, when you configure a run for an AFT Suite.
The remote agents are shown as the agents available for selection under the Override column within the Location tab in the Execute test asset dialog box.
You can then select the remote agent as the location to run the AFT Suite when you are configuring the test run. Alternatively, you can enter the argument -swaplocation <configured_agent_location>:<overriding_agent_location> in the Program Arguments field in the Advanced Setting dialog box when you are configuring the test run.
For running an AFT Suite, see Configuring an AFT Suite run.