Writing Cases with AI

Writing Cases with AI

Let AI draft test cases for you from a Jira story or from text you paste, then review and keep the ones you want. For AI inside the Jira issue see Creating a Case, and to improve steps you already wrote see Updating Test Case Steps with AI. AI can cover edge cases you might miss and saves writing time.

I want to...

Do this

I want to...

Do this

Generate cases from a Jira story

Open the AI tab, choose User story based, pick the issue and click Generate cases.

Generate cases from my own text

Choose Text based, paste the requirement and click Generate cases.

Get more ideas

On Review cases click Suggest more cases using AI.

Keep a suggested case

Click Create case on that case.

Check how much AI I have left

Hover the info icon next to the monthly AI usage at the top right.

Turn on AI

AI is off by default. A project admin turns it on, and then everyone in the project can use it. If AI is off, ask your admin.

  1. Click the gear icon in the AIO Tests top bar and choose Project settings.

  2. Click Advanced in the left menu.

  3. Scroll down to AI preferences and tick Enable AIO Tests AI features for users. The message Changes saved appears.

Create cases with AI

  1. Click the AI tab.

  2. On Requirements choose User story based or Text based and fill in the requirement (see Requirement details). Pick your options under Preferences.

  3. Click Generate cases. The cases open in Review cases.

  4. Check each case, then click Create case on the ones you want to keep.

Users will not be able to create test cases with AI if they do not have create case permissions.

Requirement details

Requirement

What to enter

Requirement

What to enter

Jira issue (User story based)

Search for the issue by key or summary. Its summary and description are used as the requirement, and the issue is linked to every case you create. If the issue has child stories, a Child stories field appears.

Requirement text (Text based)

Describe what the feature must do. Up to 15000 characters.

Focus areas (User story based)

Optional. Tell AI what to concentrate on or skip, up to 3000 characters.

Attachments

Add images (JPG, JPEG, PNG, WEBP) or PDFs with Browse to upload file. Up to 20 files, 20 MB each and 50 MB in total.

Preferences

Preferences

What it does

Preferences

What it does

Steps

Classic for step by step cases or BDD/Gherkin for Given, When, Then cases.

Types of cases

Positive, Negative, End-to-End, Security, Performance, Accessibility, Edge or Usability. If you pick none, all types are used.

Set defaults

Fill in Case details such as Folder, Owner, Priority, Status, Tags and click Apply. They are applied to every generated case. Cases go to Not Assigned if you pick no folder.

Your preferences are saved when you click Generate cases. The bar at the bottom shows the output language: if none is set, AI answers in the language of your requirement. An admin can change AI output language in Project settings, General preferences. Reset setup clears the form.

Auto linking of attachments in Jira stories

When you generate test cases with AI from a Jira story, any attachments of the selected story are linked to the cases automatically.

Review and create your cases

After you click Generate cases, the cases open in Review cases. Go through them one by one before you create them.

  1. Click a case in the list on the left to read it.

  2. Change the Title, Description or steps if needed. To set details such as priority for all cases at once, click Bulk edit details, fill them in and click Apply.

  3. To drop a case you do not want, click the trash icon and click Discard.

  4. Click Create case on each case you want to keep. It gets a case key and a green tick appears next to it in the list.

The table below lists everything you can do on this screen.

I want to...

Do this

I want to...

Do this

Read and edit a case

Pick it in the list on the left. Change the Title, Description and steps on the Steps tab, or the details on Add details. For a story, the Jira issue is already linked there.

Set details for all cases at once

Click Bulk edit details, fill in the details and click Apply.

Add more cases

Click Suggest more cases using AI, optionally describe what to focus on (up to 1000 characters) and click Generate. You can do this once.

Undo my edits to a case

Click Reset to revert to the AI suggested case.

Drop a case I do not want

Click the trash icon and confirm Discard.

Keep a case

Click Create case. It gets a key, for example SHOP-TC-39, a green tick appears in the list and the case becomes read only here.

Cases you have not created are lost if you reload the page, and Discard removes a suggestion for good. Always check AI cases before you create them: the page warns that AI may occasionally generate incorrect answers.

Child stories

When you pick an epic or a story that has child stories, a Child stories field with Select child stories appears so you can include them.

image-20261115-105005.png

AI usage

Usage is counted in tokens and shared across projects. The top right of the AI page shows the percentage of your monthly AI usage. Hover the info icon to see tokens used, tokens left and when they refill (the 1st of every month at 12:00 AM UTC). When the allocation is used up you cannot generate cases until it refills. An admin can set your own monthly limit, see Admin Actions.

Questions

Is there a limit on cases? There is a limit on the number of monthly tokens.

Which countries can use AI? See the countries list in the FAQ.

What if I use up the allocation? You can use AI again when it refills on the first of next month or connect your own API key to continue.

What if AI has been turned off? Only an admin can turn it back on, see Turn on AI above.

Does AIO store my data to train models? No.

For further queries and suggestions, feel free to reach out to our customer support via help@aiotests.com.