Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Create Test Cases with AI in RTM

Struggling to identify how to begin writing test cases from a requirement is a common challenge đŸ§©

To address this, Requirements and Test Management (RTM) for Jira includes an AI-powered Test Case generation feature. It assists in quickly generating initial test case drafts based on requirement content.

When should you use AI to generate Test Cases?

Many of our QA specialists use this feature as a starting point - a way to quickly generate a rough version of a Test Case that captures the idea. It helps when you’re short on time or unsure how to structure test steps.
After generation, you can refine the output to suit your style, standards, and edge cases.

👍Good Practices:

Start with clear, specific Requirements đŸ’§

AI uses natural language input to create your Test Case. If the input is unclear, the output will be too.

💡Tips for better input:

  • Use simple and clear language.

  • Avoid internal jargon (or explain it if needed).

  • Mention expected outcomes or key conditions.

  • Include relevant user roles or system states.

Example of effective prompt: As a registered user, I want to change my email address in the account settings so I can receive notifications on a new address.

 

Always review and improve the output đŸ› ïž

AI speeds up writing, but it doesn’t replace QA judgment. Think of the generated test case as a rough draft.

💡Tips for reviewing:

  • Add missing test data or preconditions.
  • Verify that test steps follow logical flow.
  • Manually include edge cases or negative paths.
  • Ensure expected results are clear and measurable.

Example before & after:

AI-generated step: Click on ‘Reset Password’.
Improved: Click on ‘Reset Password’ and verify that a confirmation email is sent to the registered address.

 

Standardize titles and step formatting 📏

Consistency makes tests easier to read, maintain, and filter, especially across large projects.

💡Tips:

  • Use consistent phrasing in actions (for example, ‘Click on’, ‘Enter’, ‘Verify that
’).
  • Apply team-wide naming patterns for test case titles.
  • Align with your test case template and adjust the AI-generated structure as needed.

Example:

Use: Verify password strength when registering.
Avoid: ‘Password check’ or ‘Test if password works’.

 

Treat AI-generated Test Cases as your first draft đŸ“

Many QA teams use AI-generated test cases as the first step to kick off the process and structure their thinking.

🛟Why this helps:

  • You get a basic outline without starting from scratch.
  • It sparks ideas and highlights typical flows you can build on.
  • It speeds up early-stage work like test planning or exploratory prep.


Usage example: â€œOur team uses AI-generated tests as an initial draft. They help us quickly cover the ‘happy path’ and then we layer on negative scenarios and edge cases. It’s like getting a helpful skeleton that we flesh out based on our experience.”

 

Use AI as a pairing tool for Junior Testers đŸ‘©â€đŸ«

Junior QA specialists can use AI to learn about test case structure, common test flows, and phrasing. It’s a hands-on way to explore how requirements turn into test logic.

 

⚠Common Mistakes to Avoid

Even the best tools can lead to problems if misused. Here’s what to watch out for:

  • Trusting AI output blindly - every Test Case still needs human review, especially for logic, edge cases, and accuracy.
  • Generating too many irrelevant Test Cases - focus on quality over quantity. AI can create many cases quickly, but not all will be useful.
  • Skipping negative and edge case scenarios - AI-generated tests often focus on happy paths. Always add manual coverage for edge cases and failure conditions.
  • Giving vague prompts - input like ‘Login feature’ is too generic. Add specific user actions, expectations, or context.

 

📌AI-generated Test Cases in RTM help you go from requirement to test structure faster, but the real power comes when you treat AI as your assistant, not a replacement.

Use it to speed up ideation, draft better tests, and free up time for critical thinking and edge-case analysis.

 

Sounds interesting? You can try it out in the interactive tutorial [here] đŸ‘ˆ

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events