AI Step generator
Unlock a new way to create tests. Delegate mundane tasks to our AI-powered Step generator and save your time for more creative work.
Last updated
Was this helpful?
Unlock a new way to create tests. Delegate mundane tasks to our AI-powered Step generator and save your time for more creative work.
Last updated
Was this helpful?
DogQ's Step generator allows you to create new steps simply by telling the AI assistant what to do in a prompt. It's designed to help you save time by reducing monotonous tasks like finding selectors and transferring them into the test editor. You can give it a command to cover a piece of your test and while it's generating new steps, you're free to multitask.
When you submit your prompt, DogQ runs the test to analyze the web page - it's important that the test passes successfully. It finds the elements it needs to interact with, constructs selectors and uses them in the newly generated steps. There are however some limitations to be considered. Currently, this AI assistant can only interact with the page it is on when it receives the prompt. For bigger E2E tests covering multiple web pages, you need to use it multiple times, a page at a time.
Step generator icon is located on the last step of your test. Clicking it opens up a modal window where you can write your prompt. In the example below, it is given a web form and asked to fill it with random data to create a negative test.
When you click DogQ runs the test and performs an analysis. Depending on the number of steps it needs to generate covering the requested actions, the process can take anywhere from 10 seconds to 5 minutes. When it's done, the new steps will be added at the end of your test.