Document toolboxDocument toolbox

Header

Test Case Steps Creation Using AI

📚Prerequisites

  1. User should have QAS - Client.

  2. User should be assigned to an existing project.

 

To create the test case:

  1. Log in to QAS - Client.

  2. Access Develop from left navigation to view the Test Explorer screen.

    1. For a Fresh Install: The Create Scenario option will be available.

      image-20240926-073224.png

    2. For Upgrade Build: Scenarios may already be created.

  3. Creating a Scenario (Fresh Install):

    1. For a fresh install, create a new scenario.

    2. Once the scenario is created, hover over it to display three icons:
      Create Test Case, Edit Scenario, and Delete Scenario.

      image-20240926-055037.png

    3. Click Create Test Case.

  4. After clicking Create Test Case, a popup will appear with Empty Test Case and Generate using AI options.

    Note: By default, the Empty Test Case option will be selected.

  5. If you want to add an empty test case, select Empty Test Case and update the following fields.

    • Name: Enter an intuitive name for the test case that is easy to recognize.

    • Scenario Name: The selected scenario name will appear, or the user can select from the dropdown.

    • Description: Enter a brief description about the test case.

    • Manual Test Case ID: Add a test case ID.

    • Discard: Click Discard if you don’t want to create the test case. Clicking Discard will close the popup and clear all entered data.

    • Click Save to create an empty test case.

    • Select Create another Test Case checkbox to enable the creation of multiple empty test cases.

  6. If you want to generate test case steps using AI, select Generate using AI and update the following fields.

    • URL: Enter a valid web URL for which you want to generate the test case steps.

    • Name: Enter an intuitive name for the test case that is easy to recognize.

    • Scenario Name: The selected scenario name will appear, or the user can select from the dropdown.

    • Description: Enter a brief description about the test case.

    • Manual Test Case ID: Add a test case ID.

    • Discard: Click Discard if you don’t want to create the test case. Clicking Discard will close the popup and clear all entered data.

    • Next: Click Next to proceed to the Test Case Generation screen.
      Note: The Next button is enabled only after all mandatory fields are filled.

  7. On the Test Case Generation screen, the first test case will show Open URL in the prompt editor.

  8. Enter instructions in the prompt field and click Generate. The instructions will move into the conversational prompt field, and test case generation will begin.

  9. While generating, you will see Generating... in the conversational prompt field.

  10. Once all test case steps, along with screenshots and static data, are generated, click Save to save the test cases. The saved test cases will appear in the Develop tab.

  11. Click Clear all if you don’t want to save the test cases.

 

Footer