How To Execute Test Cases In Jira Zephyr

Testing is crucial in the software development cycle. To efficiently handle and optimize this task, numerous companies utilize test management software like Zephyr for Jira. In this article, we will instruct you on how to carry out test cases using this robust tool.

What is Zephyr for Jira?

Zephyr for Jira is a native application that exists in Jira to provide a full-featured test management environment. It allows for the creation, viewing, and management of test cases directly within Jira. Moreover, it facilitates the tracking of bugs linked to the test cases.

How to Execute a Test Case in Jira Zephyr

Now, let’s delve into the main steps on how to execute a test case in Jira using Zephyr.

Step 1: Create a New Test Cycle

Before you execute a test case, you must create a new test cycle. Go to the “Tests” drop-down menu and select “Plan Test Cycle.”

Step 2: Add Test Cases to the Test Cycle

After creating a new cycle, you need to add your test cases. Click on your new test cycle and use the “Add Tests” button to include the test cases you want to execute.

Step 3: Execute the Test Case

Once your test cases are in place, it’s time to execute them. Navigate to “Execute Tests” under the “Tests” menu. On the following screen, you’ll be able to see all the test cases within the test cycle. Click on “E” (Execute) next to the test case you want to execute.

Step 4: Update the Execution Status

After performing the test case, you need to update its status. The options typically include “Pass,” “Fail,” “WIP” (Work in Progress), and “Blocked.” Select the one that best represents the outcome of your test execution.

Here is an example of how to update a test case status:

//pick the execution status field and choose the status
executionStatusField = driver.findElement(By.id("executionStatusField"));
Select select = new Select(executionStatusField);
select.selectByVisibleText("Pass");

Conclusion

Executing test cases in Jira with Zephyr helps streamline your testing process by providing a centralized location for managing all test cases and their results. With its intuitive and user-friendly interface, running tests and keeping track of results has never been easier. Start leveraging Jira Zephyr to ensure your testing process is as efficient and effective as possible.