7. AI Testcase Generation

Why Was This Developed?

Traditional manual test case creation methods are time-consuming and error-prone, relying on human interpretation of requirements. As software applications become more complex and the volume of user stories or requirements documents increases, there is a need for a more efficient, automated approach. Generative AI addresses this need by automatically analyzing and extracting requirements from sources like Azure DevOps (ADO), JIRA, or documentation. This speeds up test case creation and reduces the risk of human error.

What is The Goal?

The Generative AI feature facilitates the creation of manual test cases by analyzing and extracting requirements directly from User stories or documents, whether they are stored in tools like Azure DevOps (ADO), JIRA, or within requirement documentation.

How Does It Work?

The AI Testcase automates routine tasks, reducing human effort and freeing resources for strategic work. It saves time and costs while accurately simulating user interactions to generate realistic test cases. This approach improves testing quality and ensures thorough evaluation of applications for various user behaviors.

Note:

  • Avo Assure supports only PDF format files.

  • The feature will read only the text and generate test cases from the document or user stories.

  • This feature is tailored to individual projects.

  • Presently, this feature supports only the module-level testcase generation, not system-level testcase generation.

  • The user can generate positive testcases, negative testcases, edge testcases, Performance, etc.

The process involves two key steps:

  1. Upload any relevant files associated with the application under test.

  2. Select a tool to facilitate the extraction of user stories.

Relevant Files for Application Testing

  1. The user has to navigate to the Avo Assure home screen.

  2. The user has to select the project from the All Project list.

  3. The user has to click the AI Testcase button, and the AI Testcase window will be displayed.

  4. To upload the pdf file from the system folder, the user must click the Upload any files relevant to the application being tested check box.

  5. The user has to click the Choose button. Note: Now Avo Assure supports only PDF format files.

  6. The user has to select the file from the System Folder and click the Open button.

  7. To upload the selected file, the user has to click the Upload button.

  8. Once the file is uploaded successfully, the user has to click the Next button.

  9. To generate a module-level test testcase, the user has to click the Generate module-level test case button. Note: The feature will read only the text and generate test cases from the document or user stories.

  10. The user has to specify a particular module to generate the testcases. Note: The AI Testcase feature won't generate testcase for all the modules in the document, but the user has to specify a particular module to generate the testcases.

  11. The user has to enter the module in the Enter Module text box. Note: The user can generate positive testcases, negative testcases, edge testcases, etc.

  12. The user has to click the Generate button. The testcase will be generated, and the generated testcase involve:

    • Scenario Name

    • Description

    • Test Steps

    • Expected Result

    • Dummy Data

Tool Selection for User Story Extraction

  1. To select a tool for user story extraction, the user has to click the Choose a tool for user story extraction check box and click the Jira button.

  2. The user has to enter valid Jira login credentials and click the Login button.

  3. The User Story Selection window will be displayed.

  4. The user has to select the Jira project from the Select Project drop-down menu.

  5. Select the Jira work items from the ' Select Workitems' drop-down menu, and click the 'Submit' button.

  6. Once the user submits the user story, the user has to click the 'Output' button.

  7. To generate a testcase at the user story level, click the 'Generate user story level test case' button.

  8. The user has to select the user story, and To generate the testcase, click the 'Generate' icon.

  9. The testcase will be generated. The generated testcase involves:

    • Positive Testcases and Test Steps

    • Negative Testcases and Test Steps

    • Edge Testcases and Test Steps

How Can I Get This?

If the user upgrades to the latest version of Avo Assure to 24.0.1, this feature will be available automatically. If you are not part of this particular version, 24.0.1, contact Avoproductsupport@Avoautomation.com to get this version.

Last updated

Logo