Skip to main content

Generate test cases with AI

Learn how you can turn your Jira requirements into editable test cases with steps automatically.

Prerequisites


The AI-assisted test case generator transforms your testing processes by addressing key challenges in traditional test design approaches. You can significantly reduce test case creation time as the system automatically generates comprehensive test scenarios from requirements, eliminating the manual effort previously required for analysis and planning.

By automating repetitive test design tasks, your testing team can focus on higher-value activities like exploratory testing and defect analysis, enabling earlier test planning that shifts quality assurance left in your development lifecycle.

View the Requirement Detail Page

  1. Go to Plans.

  2. Click on any of the Iterations. The Requirement List appears.


Plans page in Katalon TestOps
  1. Click on the name of any of the requirements to go to its Requirement Detail Page.

    This shows you an overview of all your requirements' relevant information. In the example below, the requirement and its information is taken from Jira issue RNGHRM-6.


Requirement details page in Katalon TestOps
tip

You can click on the outbound arrow [↗] to the left of + Create a test case to navigate directly to the Jira issue.

Generate Test Cases with AI

  1. Click on the Generate Test Cases button in the upper right corner of the page.


    Generate test cases button in Katalon TestOps
  2. If TestOps finds your requirements need clarification, the Additional Context Refinement feature may ask you to provide additional context to make the test cases it generates more accurate. You can add custom prompts to focus on specific aspects of the test cases.


    Additional context refinement in Katalon TestOps

    Click on Start Generating after you have provided the additional context.

  3. The system displays a list of AI-generated test cases highlighted in purple. These test cases are created based on your specified requirements.

    warning
    • Be careful when Accepting or Rejecting All; it's highly recommended you review each test case individually.
    • Make sure to review the test cases' contents before approving them. The AI can make mistakes.

Your Account information in Katalon TestOps

A list of AI-generated test cases highlighted in purple.


  1. To review a test case's content, click on the test case name. A drawer will pop up on the right side of the screen displaying test case details. Ensure that it aligns with the context of your general requirements before clicking Accept.

    Otherwise, you can click Generate test steps to regenerate the content, edit it all manually, or click Reject to discard the content.


Generated test case details in Katalon TestOps
  1. Click Accept to approve the test case or Reject to discard it.

Results

A notification confirms that you have successfully approved the test cases.

Was this page helpful?