Running server test assets on an agent
When you have server test assets that you want to run on a Linux, Mac, or Windows system by using an agent, you can register the agents and run the tests.
You must have completed the following tasks:
- Registered the Linux, Mac, or Windows system using an agent for running tests. See Installing and registering DevOps Test Runtime agents.
- Read and completed the tasks mentioned in Prerequisites to running tests, if they apply to the test that you want to configure for a run.
- Read and completed the tasks mentioned in Test run considerations for browser-based Web UI tests, if you want to run tests that use Chrome or Edge browsers.
- Created a Web UI test in Test.
When you initiate a test run that requires a capability such as the Safari browser,
and if you have not specified any agent to run, the test enters a Waiting
for agent state. This state indicates that the job is valid but is
waiting for a suitable agent to run it. If an agent that has the required capability
is registered with the project, then the agent picks up the job and runs the test,
which is in an Waiting for agent state. You can also cancel
or stop the test runs that are in the Waiting for agent
state.
Note: The default time limit for the agent to be in
the Waiting for agent state is 15 minutes after which the
test run attempt stops. If you started the test run from the command line, then
the time limit is 60 mins.
- Stop the test run at any point after the test run is initiated from the Execution page. See Stopping test runs.
- View the results, reports, and logs of the test from the Results page after the test completes the run. See Test results.
in the row of the identified test asset.