Artificial Intelligence and Machine Learning FeaturesAuto Test Case Generation

Auto Test Case Generation

Creating test cases manually for every application flow can be time-consuming, repetitive, and difficult to maintain as projects grow. To simplify and accelerate the testing process, algoQA provides an Auto Test Case Generation feature that helps teams quickly generate structured test cases with minimal manual effort.

Generate test cases automatically from an existing configuration without creating each scenario manually.

algoQA Auto Test Case Generation flowchart from offline model to auto generated test cases
algoQA Auto Test Case Generation flowchart from offline model to auto generated test cases

Generate Test Cases Using Auto Test Cases

  1. First, create a project and configure it using either the Offline Recorder or the Online Recorder available in algoScraper.

  2. Refer to the following articles for detailed steps:

  3. The configuration consists of:

    • Nodes
    • Features
    • Controls
  4. These components are captured during the recording process using the Offline or Online Recorder. Once the configuration is created successfully, click on Auto Testcases to generate test cases automatically.

    Configuration screen with Controls table and Auto Testcases tab highlighted
    Configuration screen with Controls table and Auto Testcases tab highlighted
  5. Select the Node and Feature for which the test case needs to be generated, then click Proceed after making the selection.

    Auto Test Case Generation screen with Feature panel and Proceed button highlighted
    Auto Test Case Generation screen with Feature panel and Proceed button highlighted
  6. You can view the scenario name and click Generate to generate the scenario.

    Auto Test Case Generation page with Scenario List showing Scenario 1 and highlighted Generate button
    Auto Test Case Generation page with Scenario List showing Scenario 1 and highlighted Generate button

    If the scenario outline is already used in another scenario, a notification pop-up appears indicating that the scenario outline is already in use. Edit the scenario outline to a unique value and generate again.

    Duplicate scenario outline notification in Auto Test Case Generation
    Duplicate scenario outline notification in Auto Test Case Generation
  7. Once the scenario is generated successfully, click on View Scenarios and you can review and modify the scenario and scenario step list if required. To learn more, refer to Managing Test Cases Using Test Design Feature.

    Auto Test Case Generation page with Generated Scenarios list and View Scenarios button highlighted
    Auto Test Case Generation page with Generated Scenarios list and View Scenarios button highlighted
  8. After reviewing the scenarios, click Generate Test Case to generate the test cases.

    Test Design screen with the Generate TestCase button highlighted
    Test Design screen with the Generate TestCase button highlighted
  9. The test cases will be generated. You can view the test cases and generate test scripts. For more details, refer to Generate Test Cases and Test Scripts.

Advantages For QA teams

FeatureBenefit
Automatic generationSaves time and effort
Standardized structureImproves consistency
Better coverageReduces missed scenarios
Scalable testingHandles large applications efficiently
Easy customizationFlexible for different project needs
Faster releasesAccelerates testing cycles