QMetry defines a Build as a specific iteration of the product/domain to be tested. The feature allows the tester to assign a "build" (aka patch, drop, or increment) to test suites/test cases that indicate the version of product being tested. It helps users track multiple builds of software more dynamically without having to add separate test suites with every new build.

Note: The build should be already added and associated to Release and Cycle, which are associated with the test execution. Read more about Managing Builds.

Build assignments are done at two levels:

Set Build for Test Suite

Build can be assigned for the entire test suite. All the test cases in the test suite are executed on the build assigned at the test suite level. This option is available for customers having a Base package.

Set Build for Individual Test Cases

Different Builds can be assigned to the test cases in a single test suite. This option is available for customers who have opted for the customization package.

Users will have the following options:

  1. Set Build selection mandatory in the project.

  2. Set a Default Build for a release cycle combination.

  3. Assign Build to the entire test suite.

  4. Assign Build to individual test cases in the test suite.

These points are explained as below.

1. Set Build Selection Mandatory in the Project

note

Note: Mandatory Build features will be visible only if you have purchased Customization package.

Note: Mandatory Build features will be visible only if you have purchased Customization package.

You can make the build selection mandatory for a given project. Make build mandatory works in accordance with Project Create and Modify rights. You can set the Make Build Selection Mandatory settings while creating a new project or while editing an existing project.

Use Case: The organization has hundreds of builds in multiple projects. If a tester does not mention the build number, it becomes difficult to track on which build the test was executed against after a few days. In such cases, QA Manager has the option to make the build selection mandatory while executing a test case.

Make Build selection mandatory during execution: This option is available on the Project create and edit screen (Projects > Project/Release/Cycle.). This will enforce Build selection on the Test Suite Execution Screen. Select the check box to make Build selection mandatory when test cases are being executed on the Execution Screen. The test execution will not be carried out without build selection.

Read here to make Build Selection mandatory for a project.

If you have enabled the Make Build selection mandatory during execution option in the Projects module, you can see the tip “Build is set as Mandatory during execution” on the Build grid (Projects > Builds).

If the Build Selection is mandatory in the project and no build is selected on the execution screen, the tester will see the following message.

2. Set a Default Build for a release cycle combination.

QA Mangers can set a default build for a release & cycle combination so that test executions are auto assigned an intended build and testers do not have to set them manually. The tester will still have an option to set another build other than the Default Build for the execution.

Set a Build as Default Build

note

Note: The Set Default option for default build configuration on Build Create and Edit screen will be visible only if you have purchased Customization package.

Note: The Set Default option for default build configuration on Build Create and Edit screen will be visible only if you have purchased Customization package.

With a customization package enabled,

The set default build for a release and cycle will be displayed at the test suite run level on the execution screen every time.

Build information: You can view the Set Default Build and last executed build to know which product/software version has been tested. Click on the information icon to expand the information of -

Use Case: QA Manager wants a default build for a combination of release/cycle, so that when test cases are executed against a release cycle combination and if the tester does not choose a build, they get executed against a default build. Tester is prompted for a confirmation that the execution will be done against a default build.

User can set only one default build for a single combination of Release & Cycle.

If the default build is set for particular release/cycle then this default build is set automatically at the time of adding the test run. A confirmation message pops up asking whether to continue the execution on the given default build.

Note: Bulk Execution performed on the Bulk Execute screen (Test Suite > Test Execution tab > Bulk Execute) is exempted from the application of default build. All the bulk executions from this screen will be performed on None build.

Create Build and Set it as Default

Edit Build and Set it as Default

You can mark the build as default either while adding new Release(s) & Cycle(s) to the build. You can mark the build as default build for multiple combinations of Release(s) & Cycle(s) at a time.

You can mark the build as default after adding new Release & Cycle to the build.

You can view the Release(s) & Cycle(s) that are associated with the default build on the Build grid in Projects > Builds.

On Execution Screen -

When a Build is set as default and the user tries to change the execution status of the test case on the Execution Screen, the confirmation message pops up showing the default build on which the test case will be executed. To proceed with the default build click Yes. You can see the build on which the test case is executed in the Build Name column.

To execute the test case on other build, click No and change the build using the “Set Your Build” option for that test case.

3. Set Build at Test Suite Level

When the customization package is not purchased, users can not set a build as default.

Below are the steps to assign the build to a test suite. Build assigned to a test suite will be applied to all the test cases under that test suite.

Steps

  1. Click on the Set Your Build button at the right corner of the screen.

  2. Open the Select Build drop-down and select the build you want the test cases to be executed against. This list contains all the builds that are linked to release and cycle, which are associated with the test execution that is being carried out.

Build will be assigned to the entire test suite if

4. Set Build at Test Case Level

Users can assign build to a test cases irrespective of the build set for the test suite or other test cases in the test suite. Testers want to assign builds to individual test cases within a test suite so that they can associate different test cases with different builds.

If the execution status of a test case is changed, the change will be applied to the test suite run build (i.e. set as default). It will override the set test case run build.

Steps

Below are the steps to assign build to a test cases.

  1. Click on the Set Your Build button at the right corner of the screen.

  2. You can see that all the test cases are selected by default. Unselect the test cases to which you do not want to apply the build.

  3. Open the Select Build drop-down and select the build you want the selected test cases to be executed against. This list contains all the builds that are linked to release and cycle, which are associated with the test execution that is being carried out.

The Build is set for those test cases that are selected while choosing the build.

After setting the build at Test Suite Level/Test Case Level, the confirmation pop-up opens as soon as you select the Build to link, confirming -

"Do you wish to reset execution status to "Not Run" for all Test Case(s)?"

You can opt either for resetting or not resetting the test case execution status.

The selected build will be set for the test run/for the selected test cases under it.

If you do not want to apply Build for the execution, then open the Build drop-down and just remove the Build selection. The Build selection will be removed after confirmation.

Build information: You can view the Set Default Build and last executed build to know which product/software version has been tested. Click on the information icon to expand the information of -