Skip to main content

AI Step Generation

AI Step Generation automatically creates test steps for any element on the page while you are recording. Instead of manually writing steps for every field, you hover over an element, click Generate Steps with AI, and QAlity builds all the relevant steps for you instantly.

Only available during recording

AI Step Generation only works while you are actively recording a test case. It is not available when editing a saved test case without recording.

How to use AI Step Generation

  1. Start recording

    Open a test case and click Start recording. QAlity will open your website in an Incognito window and the Test Steps panel will appear on the right side of the browser.

  2. Hover over an element

    Move your mouse over any element on the page - a form field, input box, button, dropdown, or any other control. The page will highlight the element you are hovering over.

  3. Right click or use the QAlity menu

    A small context menu will appear next to the element with three options:

Verify - Adds a verification step to check the element is visible or has a specific value.

Mouse Hover - Adds a step that hovers over the element.

Generate Steps with AI - Lets AI automatically generate all relevant test steps for the selected element.

  1. Click Generate Steps with AI

    Click Generate Steps with AI from the menu. The page will blur and a loading indicator will appear in the center of the screen showing Generating steps with AI...

  2. Wait for generation to complete

    Wait a few seconds while QAlity analyses the element and generates the steps. Do not interact with the page while it is generating.

  3. Review the generated steps

    Once generation is complete the new steps will appear in the Test Steps panel. Review them top to bottom to make sure they are correct.

  4. Continue recording or stop

    You can continue recording more actions or stop the recording. All generated steps will be saved to the test case.

After generation

Once the steps are generated go back to QAlity and review them in the Test Steps tab:

Review each step - Read through every generated step to make sure the actions and values are correct.

Edit if needed - Click the edit icon on any step to change its action, target, or value.

Delete unwanted steps - Click the delete icon on any step you do not need.

Reorder steps - Use the Reorder button to drag steps into the correct order if needed.

Save - Click Save when the steps look correct.

What AI generates

The steps QAlity generates depend on the element you selected:

Input field - Steps to click the field, clear any existing value, and type a value into it.

Password field - Steps to click the field and enter a password value.

Dropdown - Steps to click the dropdown and select an option.

Button - Steps to click the button and verify the expected result.

Form - Steps for all fields in the form including fills, selections, and submission.

Checkbox or radio - Steps to select or check the element.

Tip

Use AI Step Generation on form fields and input areas to save the most time. For simple single clicks it is faster to just click the element directly while recording.