Open the Test Execution you wish to associate a Test with.
Select Add > Tests from the dropdown button in the Tests section.
Image Removed
Open the Search tab.
Image Added
Select or search the Test issues to be associated with the Test Execution:
To select the Tests to be associated, you can, under the Select tab:
- Input the desired Test Issue Key on the Tests field. - Click on the Down Arrow on the Tests field and select the Test from its History Search list.
Image Added
To search for Tests to be associated, you can, under the Search tab:
- Select the desired Project and any other desired field such as Contains, Label, Fix Version, Component, Covering, Covering Fix Version, Saved Filters and Workflow Status
- Click on the Search button after filling the browse fields to get a list of matching entries
Image Removed
Info
title
How to use de Issue Picker Dialog
This is an example of how to add tests, using some of the features available in the Search tab.
For more information, please visit the Issue Picker Dialog detailed overview.
Configure the search.
-Use the Filters dropdown button to include extra fields in the search criteria.
-Fill in the filters values.
-Press the search button.
Info
title
Please note
Notice the setting for ignoring Tests in non-executable statuses at the bottom-left side. By default it will be selected, therefore restricting the shown Tests available for adding accordingly to the configuration "Miscellaneous > Workflow Status > ".
Select and Add tests.
- Once the results are obtained you can order, add/remove columns to the results list (the columns selection is saved as a preference).
- Before adding the selected tests you can define the execution assignee by using the upper right corner Assignee dropdown.
Info
title
Please note
Since Xray 3.4.0, the Assignee dropdown provides you a suggestions list with the user type fields found in the tests.
If you choose the "Test Reporter" from the list, the assignee of the resultant Test Run will be the user set in the Test Reporter field of the respective test.
- Check the tests you wish to add from the listed results.
Image RemovedImage Removed
To search for Tests to be associated, you can, under the Search tab:
- Select the desired Project and any other desired field such as Contains, Label, Fix Version, Component, Covering, Covering Fix Version, Saved Filters and Workflow Status
- Click on the Search button after filling the browse fields to get a list of matching entries
Image Added
To search for Preconditions to be associated you can: under the JQL tab:
- Write the desired JQL search - Click on the Search button perform the JQL search and to get a list of the matching entries
Image Added
Click Add to add your selections to the Test Execution
Add tests by pressing "Add selected".
UI Step
Add Tests from Test Sets
In practical terms this operation is very similar to adding tests, instead you will just be searching and selecting Test Set issues.
Keep in mind that when adding a Test Set issue to a Test Execution, all the Test issues associated with the Test Set are added to the Test Execution.
The Test Set issue is not directly associated with a Test Execution, so changes to the Test Set after it was added will not affect the Test Execution.
Open the Test Execution with which you want to associate a Test Set.
Select Add > Tests (under the Tests tab on the view page) to open the Add Test Sets dialog box.
Image Added
You are then presented with a screen that will let you select :
Issue individually
JQL
or Search using filtering.
Image Added
And Add your Test Plan to the Test Execution
UI Step
Associate with a Test Plan
You can associate Test Executions with Test Plans by editing the custom field Associated Test Plan Plans in the Test Plans section in Test Execution issue view page. Note that with this method, or directly in the create issue screen in the Test Execution Details tab.only the Test Execution will be associated with the Test Plan; the Tests will not be associated. To inline edit the Associated Test Plans field, just hover over the field view area, click it and add or remove the Test Plans.
Image Added
Image AddedImage RemovedImage Removed
If the Test Execution is associated with aTest Planand containsTeststhat are not in theTest Plan, a warning message will be displayed telling you how many tests in the Test Execution are not in theTest Planwith a button .AAdd Testsbutton will be shown in case you want to add these tests to theTest Plan.
Image RemovedImage Added
There will be one warning message for each Test Plan associated with the Test Execution that does not contain all the Tests in the Test Execution.
UI Step
UI Steps
Remove Tests
Section
Column
To remove Tests from the Test Execution (i.e. delete Test Runs):
Step 1: Open the Test Execution issue.
Step 2: Hover over the desired Test Run (under the Tests section on the view page)
Step 3: Click the Actions button that appears in the last column. The actions menu should pop up with the available actions.
Step 4: Click Remove action. A confirmation message appears.
Step 5: Choose Delete to delete the Test Run or Cancel to abort this action.
Column
Image RemovedImage Added
UI Step
Assigning Work
Section
There are two ways to distribute work between Testers.
A Test Execution issue can be created per Tester by assigning the issue to a specific Tester, or
Within a Test Execution issue, you can assign individual Test Runs to Testers. Test Runs are assigned to the Test Execution issue assignee by default. Only users with permission to assign the Test Execution issue can assign Test Runs.
When assigning individual Test Runs, it is also possible to assign based on any user type field present on the Test cases. For instance, you'll be able to assign Test Runs to the Test issue assignee. This allows users that are normally used to execute a specific Test case (that are assigned to the Test case), to be the default assignees on Test Runs within a Test Execution.
Column
width
50%
To assign individual Test Runs to testers,
Step 1: Open the Test Execution issue.
Step 2: Hover over the desired Test Run (under the Tests section on the view page)
Step 3: Click theActions
button
button that appears in the last column. The actions menu should pop up with the available actions.
Step 4: Click
the
theAssign action. The assign dialog appears.
Step 5: Start typing to find the user to assign the Test Run
and click
. Click Assign to complete the action or Cancel to abort it.