Skip to content

Execute automated test cases

Running automated tests

What it does

Automated tests are identified in the execution plan of an iteration or test suite by the icon Execute an automated test case displayed in the Mode column.

It is possible to execute all the automated test cases, included in the execution plan, or a selection of those, by clicking on the Run automated tests button at the top right of the execution plan:

Execute automated test cases

It is also possible to execute a single automated test case by clicking on the Automated execution sub-menu:

Execute an automated test case

When the automated execution starts, an Overview of the automated test execution pop-up is displayed and an automated suite is created.

Depending on the test automation server type, various actions are possible in the Overview of the automated test execution pop-up.

Running automated tests with Squash Orchestrator

When the automated test is running with Squash Orchestrator, the Overview of the automated test execution pop-up displays the tests to be executed.

From this pop-up, it is also possible to view the environment tags which will be used to run the tests.
By default, the selected environment tags are those defined for the project. However, the user can set other values that will be used only for this execution.

The Available environments section enables the user to check that the selected combination matches at least one available execution environment. If not, the test cannot be run.

If environment variables are associated with the test automation server, they are displayed in this pop-up with the default value defined for the project. It is possible to modify their values only for this execution.

Supervision Execution Pop-up before launch

When an automated test suite is run with Squash Orchestrator, a progress bar shows the progress of test executions in the supervision pop-up. The UUID of the workflow(s) in charge of execution on the orchestrator are also displayed.

Supervision Execution Pop-up after launch

Focus

Closing the supervision pop-up is permanent. If automated executions are in progress, they will nevertheless continue, but you will not be able to view their real-time progress.

Running automated tests with Squash TF

When the automated test is running with Squash TF, a progress bar shows the progress of the test executions in the Overview of the automated test execution pop-up.

Pop-up for monitoring the automatic execution of tests

Info

When executing with a Squash TF automated runtime server such as Jenkins, if it is configured to let you decide on the execution server, a pop-up allowing you to select the server opens before the execution starts.

Automated test suites

An automated suite is systematically created after the launch of automated tests. The suite is created at the iteration and test suite level. From this automated suite, it is possible to check:

  • the overall execution status of the automated suite (depending on status of the associated executions);
  • the details of the executions;
  • the reports of all executions of the automated suite.

Automated test suites