Writing Cases with AI

AIO Tests AI Assistant allows users to create test cases automatically with a click of a button. Whether you want to create test cases for the existing tickets/stories in Jira or want to create test cases for your specific requirements by entering the details manually, the testing management application lets you do it in no time.

In this documentation, you’ll understand:

Why You Should Create Test Cases With AI on AIO Tests

By creating test cases with AI on AIO Tests, you can not only cover multiple test scenarios and edge cases that might be difficult to identify manually, but can also greatly improve testing accuracy and efficiency. Here are some of the reasons why you should create test cases with AI on AIO Tests. 

  1. Save time- By creating test cases with AI on AIO Tests, you can create a large number of test cases, even for complex scenarios, in less time.

  2. Faster time-to-market- In addition to helping you save time, creating test cases with AI on AIO Tests can reduce the time to test an application, allowing for a faster time-to-market.  

  3. Improved edge case coverage- One of the major benefits of creating test cases with AIO Tests is the fact that it can help you easily identify test edge cases you might miss in manual testing due to their complexity or rarity. Furthermore, these edge cases could lead to important issues in real-world scenarios, making AI-generated test cases essential in achieving more comprehensive testing. 

  4. Improved accuracy and efficiency- It goes without saying that generating test cases with AI on AIO Tests can greatly improve testing accuracy and efficiency. Furthermore, it will save time and significantly reduce the possibility of human errors, ensuring more reliable and precise testing.

Steps to Enable AIO Tests AI Assistant

Step 1: To enable AIO Tests AI Assistant, simply click on the Gear icon at the top-right corner of the overview page and select the Project Settings option from the drop-down menu.

1.png

Step 2: Click on the Advanced option in the sidebar menu.

Group 1 - 2024-04-22T121816.047-20240422-064816.png

Step 3: Finally, click on the Enable AIO AI Features (Beta) for Users toggle button.

The AIO Tests AI Assistant feature will be off by default in the Project Settings. 

Steps to Create Test Cases With AI

Step 1: To create test cases with AI, all you need to do is click on the AI tab.

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

Step 2: Click on User Story Based if you want to create cases for a specific Jira ticket or Text Based if you want to enter your requirements manually.

  • If users select the Text-Based method to generate cases, they are restricted to entering only 15000 characters. 

  • Users can generate cases either in classic format or BDD/Gherkin format by selecting the desired case type.

  • Users can generate cases in the input language in which stories are written by ticking the “Generate cases in input language” checkbox.   

  • Users have the option to select the type of cases they want to generate by clicking on the Advanced Options dropdown menu and select the desired case type. If none of the option is selected, all case types are considered by default.

  • Users can select additional fields for input by clicking on the Advanced Options drop-down menu and select the additional text-based fields.

  • If users select a case with child stories, an additional field named child stories will appear where they can select the child stories associated with the case.

  • Users can select default folder for generated cases. If the user doesn’t specify the default folder, the cases will be assigned to the Not Assigned folder.

Example

Here's a sample of the Child Stories selection. The GIF below shows when a case with child stories is selected for more detailed case generation.

Step 3: Click on the Generate Cases button.

Step 4: Enter the Case details into their respective fields in the Add Details section.

Step 5: Finally, click on the Create Case button.  

 

Usage for AIO Tests AI Assistant Feature

For every user, monthly usage is allocated to use the AIO Tests AI assistant feature. The AI assistant usage is measured across projects for a tenant. It is measured by the total number of words input and output. Every Atlassian instance has a fixed monthly allocation and on the first of every month, the usage is reset. The progress bar in the title shows the used-up allocation. 

Every time a user generates cases using the AIO Tests AI Assitant feature, the percentage shown for the usage will get updated. If users exceed the monthly usage limit, they will not be able to use this feature. In that case, when a user tries to use the AI assistant feature, a message will appear on the screen saying, “Your monthly allocation has been fully utilized”. 

Note: If users want to use the AIO Tests AI assistant feature after exceeding the monthly limit, they can reach out to AIO Tests support for assistance based on fair usage. 

Note: Users can also set up the monthly allocation limit and pay accordingly.

Frequently Asked Questions

  1. Is there any limit to generating the number of cases using the AIO Tests AI Assistant? 

Yes, every user has a fixed number of monthly allocations to generate the cases using AI assistant. 

  1. Which countries and territories can access the AIO Tests AI assistant feature?

Countries supported by OpenAI are supported by AIO. We have provided access to AIO Tests AI assistant to many countries, regions and territories. Click here to find out the countries, regions, and territories we currently support access. 

  1. What will happen if I exhaust the monthly usage limit of the AIO Tests AI Assistant feature?

If you exceed the monthly usage limit of the AIO Tests AI Assistant feature, you will not be able to continue using this feature until it renews on the first day of next month. For more information, you can reach out to our customer support. 

  1. What if I see the administrator has turned off the AI Support message? 

If the administrator has turned off AI Support, a message will appear on the screen saying, “AI Support has been turned off by your administrator”. Only the admin has the authority to turn on the AIO Tests AI Assistant feature. Please refer to the Creating Cases via AI | Steps to Enable AIO Tests AI Assistant section above for detailed steps for the administrator.

  1. Does AIO store any data for training models? 

No, AIO Tests does not store any user data for training models.

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