Document toolboxDocument toolbox

Header

Generating Test Cases Using AI

With the integration of Artificial Intelligence (AI) in Qualitia Automation Studio (QAS), test automation has become significantly more efficient and intuitive. Leveraging AI, QAS now empowers teams to automatically generate test cases and detailed test steps, reducing manual effort and improving accuracy. This AI-driven approach enables predictive analysis to recommend test scenarios based on past patterns, application requirements, and user flows, ensuring comprehensive coverage.

By implementing AI for test case and step generation, QAS accelerates the automation process, enhances consistency, and enables teams to focus on strategic aspects of quality assurance, maximizing testing efficiency and precision.

Steps for Generating and Exporting Test Cases from a Business Requirement Document (BRD) in Qualitia

These steps provide clear and concise instructions to generate and export test cases from a BRD in Qualitia.

  1. Log in to QAS - Client.

  2. Navigate to the Import tab, as shown in the screenshot below. 

    image-20240924-111357.png

    Note: The file size should not be more than 50MB. If the file size is exceeded, you will be notified.

  3. Upload the BRD File

    1. On the Import page, select the option labeled Generate Test Case from Business Requirement Document (BRD).

    2. Upload the BRD file using: 

      1. Drag and Drop: Drag the BRD file from your computer’s File Explorer and drop it into the designated upload area.

      2. Browse: Click Browse to open a File Explorer pop-up. Navigate to the location of the BRD file, select it, and click Open.

        image-20240924-111627.png
  4. Once the BRD file is uploaded, you will be directed to the Load Summary page, where the uploaded file’s details will be displayed, as shown in the screenshot below. 

  5. On the Load Summary page, click Delete or Delete All to remove the uploaded file, if necessary, as shown in the screenshot below. 

    Note: The +icon next to Documents uploaded for generation will be in disabled state if you have already uploaded a file. Once the file is deleted, it will be in active state so that you can upload a BRD file.

  6. To upload the same or a different file again, there are two options: 

    1. You can drag and drop the same or a different BRD file into the upload area.

    2. Alternatively, click + icon to open File Explorer, select the new BRD file, and click Open.

  7. Click Generate to populate the test cases. Once you click Generate, you will see a screen with a message Generating….

  8. Click Stop if you want to stop the test case generation; else, let the process complete.

  9. A popup message saying AI generation of the test case completed successfully will appear once the test cases are generated.

  10. The populated test cases will appear in the right-hand side window, as shown in the screenshot below. 

  11. Each test case will contain the following information: 

    1. No: Contains the test case number.

    2. Test Case Name: Displays name of the test case.

    3. Scenario Name: Displays name of the scenario.

    4. Type: Displays type of the test case.

    5. Description and Steps: Includes the steps and description for the test case.

    6. Test Data: Includes the test data, if generated. If test data is not generated, it will contain Not generated .

    7. Expected Result: Displays the expected result for the test case.

  12. Select the test cases using the checkboxes if you want to delete or export the test cases. You have the following two options: 

    1. Select All: Use the Common Checkbox to select all the generated test cases.

    2. Individual Selection: Use the individual checkboxes next to each test case to select specific test cases.

      Note: The count of selected test cases will be displayed at the top. 

  13. Deleting Test Cases

    1. To delete the test cases, select them using the checkboxes and click Delete.

    2. Clicking Delete opens a confirmation popup. Choose OK to confirm or Cancel to dismiss. 

      Note: Deleted test cases will be removed from the current window, and the remaining test cases will be displayed.

  14. Click Clear all to clear all the test cases. Clicking Clear all triggers a confirmation popup. Select "OK" to proceed or "Cancel" to abort.

  15. Exporting Test Cases

    1. Click Export to export the selected test cases.

    2. A File Explorer pop-up will appear where you can select the folder path to save the CSV file.

    3. The default file name will be Artifacts.csv, but you can rename it if desired.

    4. Click Save.

    5. A file export progress bar will be displayed while the file is being exported, as shown in the screenshot below. 

    6. Upon successful export, a message will appear stating: Successfully exported Filename.csv to Path.

  • If you export a subset of test cases, the remaining ones will stay visible for future actions. If you export all test cases, you'll be redirected to the initial browser page.

  • Concurrent User Limitations
    Qualitia allows only one user to generate test cases at a time. If another user attempts to generate test cases, they will be placed in a queue until the current user's process is complete.

  • You can upload only one BRD file as QAS currently supports single file upload.

 

 

Footer