Test Execution

Introduction

Quick and efficient test execution of project in sequential, parallel mode for local and remote cloud Web, Mobile and Web Services platforms. QAS supports cross platform parallel execution, all browser arguments & settings, auto-manage drivers and remote execution. On failure of test, the screenshot is available for reference.

Organize Test Cycle Folders

You can arrange test cycles into folders.

Create a Test Cycle Folder

You can create folders to arrange your test cycles.

Steps:

1. Click on the New Folder icon on the folder tree.

2. Enter folder name and click Create.

The folder is added on the tree.

Right-click options available on the folder:

  • New File: It allows you to create a new test cycle under the current folder.

  • New Folder: It allows you to add a sub-folder under the current folder.

  • Cut: It allows to cut the current folder to paste it on other location.

  • Copy: It allows you to copy the current folder to paste it on other location.

  • Paste: It allows you to paste the cut/copied folder.

  • Rename: It allows you to rename the current folder.

  • Delete: It allows you to delete the current folder after confirmation.

Create a Test Cycle

Each test cycle has multiple jobs and each job has multiple test cases. Users can run individual jobs or run the entire test cycle. You can also enable/disable jobs in the test cycle as required.

Steps:

1. To create a new test cycle, right click on the folder and select the New File option.

As an alternate click on the New Test Cycle icon at the top of the folder tree.

2. Enter test cycle name and click Create.

The test cycle is added on the tree under the current folder.

You can also arrange test cycles in folder through the drag and drop operation.

Create a New Job in Test Cycle

Users can create multiple jobs in the test cycle. Multiple test cases can be linked to a job.

Steps:

1. Open the test cycle, in which you want to create jobs.

2. Click on the Add New Job button.

3. Enter the following details for the job.

  • Name: Enter Name of the job.

  • Profile: Select the Profile for the job. The profiles are configured under Project Settings >Manage Profiles. Read more about Manage Profiles.

  • Run Tests with New Session: You can execute a test cycle with New/Single Session when the test cases are required to be run in a series i.e. one after another. New Session execution will preserve session variables in multiple test cases and initiate the execution of test cases one after another in sequence. It basically covers a single scenario distributed in multiple test cases with sharing session variable.

  • Run Tests Parallel: This option will be used when the test cases have to be used independently without any sequence to be followed. This option will execute all the test cases in parallel mode at the same time which saves test suite execution time. All the test cases under the test suite will be executed simultaneously at the same time. You can see multiple executions running for the test cases. It is useful when the test cases are not dependent on each other.

    • Max Session Limit: You can mention the maximum limit of sessions that should run in parallel.

Once a Job is added, link test cases to the job. Each test cycle can contain multiple jobs. Each job contains multiple test cases.

Steps:

1. Click on the Link Test Case button.

The next screen displays test cases created under the Test Plan.

2. Select the test cases you want to link with the test cycle.

3. Then click Link.

You can select test cases from different folders e.g. Web, Mobile, Integration to link with the test cycle and bring them together.

 

Unlink Test Cases from Test Cycle

To unlink a single test case, hover over the test case and click on the Unlink icon.

 

To unlink the linked test cases, select the test cases that you want to unlink and click on the Unlink Test Cases button.

Run a Job

By executing a job or test cycle you may be executing multiple test cases at a time.

To run a job containing a set of test cases, click on the Run Job button.

The job will run as per the set Profile and as per the set preference for sequential/parallel session for the Job.

Edit Job Settings

If you want you can modify the Job setting by editing the Job.

Follow the steps to edit a job:

1. Click on the more option and select Edit.

2. Make required changes related to Profile and session run preference.

3. Click Update to save the changes.

Execute a Test Cycle

A single test cycle can have multiple jobs configured in it and a single job can have multiple test cases linked with it. So, when you are executing a test cycle, you are executing multiple test cases underneath.

It will execute all the jobs with “Active” status in the test cycle. So, make sure that the jobs you want to run are in “Active” state. Jobs with “In-active” status will be skipped while test cycle execution.

You can execute a test cycle in a Sequential or Parallel execution mode.

  • Sequential: You can execute a test cycle with New/Single Session when the test cases are required to be run in a series i.e. one after another. New Session execution will preserve session variables in multiple test cases and initiate the execution of test cases one after another in sequence. It basically covers a single scenario distributed in multiple test cases with sharing session variable.

  • Parallel: This option will be used when the test cases have to be used independently without any sequence to be followed. This option will execute all the test cases in parallel mode at the same time which saves test suite execution time. All the test cases under the test suite will be executed simultaneously at the same time. You can see multiple executions running for the test cases. It is useful when the test cases are not dependent on each other.