Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Clone

UI Steps

There are 3 Types of Test in Xray they are : Manual , Generic and Cucumber

We will talk on them in the next chapter, for now we will stick with the most common one "Manual"

Select the Test Type as Manual and feel free to add some some steps


  Image RemovedImage Added 

From the requirement issue screen

UI Step

Creating a Generic Test


Info

A Generic Test is an agnostic Test that does not contain any structure. The only field that is related to a Generic Test is its Definition. 

Using the top "Create" button"


Click the Create Issue at the top of the screen to open the Create Issue dialog box / page.

Image RemovedImage Added

Select the  Project  and on  Issue Type,  select Test.

Image RemovedImage Added

 On the Test Details tab, select the Test Type and complete all appropriate fields;

Info
UI Step
Info

To proceed as described below your admin as had to configure globally Requirements and Defects and Requirement coverage as been enabled for your project.

If you are not able to see it reach out your Jira admin as this needs to be set up by a Jira administrator.

Go to a requirement in your project (e.g Story) and click "Create new Test" just like highlighted in the picture below.

Image Removed

Select the  Project and on Issue Type make sure you have Test selected.

Image Removed

    And follow the same steps already described above to fully define your test.

Tip
titlePro Tip

The concept as you probably already figure it out is the same as  Epics and Stories.

UI Step
Info

Cloning a Test issue creates a new Test with all the information of the cloned Test, except its executions. Therefore, the cloned issue will not be associated with any Test Execution issue.

Select More > Clone. The Clone Issue screen will appear.

Image Removed

You can edit the clone Test's Summary if you wish.

  - If the test contains links to other issue(s), you can select whether or not to include the links in the new clone test.

  - If the test contains sub-tasks, you can select whether or not to create the sub-tasks in the new clone test.

  - If the test contains attachments, you can select whether or not to include the attachments in the new clone test.

Click Create.

Image Removed

UI Step

Extra

Test are Jira issues, that means that you can create Test using CSV , Rest API or any other forms you use today. Check REST API for details on the specifics for Xray REST API



Tip

For an automated test, the Definition field can have an ID or name that maps to the external automated Test case. An example might be a JUnit test created automatically by Xray when the JUnit XML report was imported with test results.

Another example of an unstructured test is an Exploratory Test. In this case, the Definition field might contain the Test charter.

Therefore, unstructured Tests can be used for both manual and automated test scenarios.



Unstructured  Exploratory Test

Image Added




Unstructured  Automated Test

Image Added