Skip to content

Generate a specification

A specification is the write-up Autest builds from your recording: the role of each screen, the flow of steps, the input fields and the expected results.

  1. Open the Recordings and test cases tab of a test plan
  2. Choose Generate specification on the recording you want
Recording list

You move to the specification screen and generation starts as soon as it opens. It takes 1 to 2 minutes. Leave the screen open.

Generated specification

A specification contains:

SectionContents
OverviewWhat the screen is for
Steps (expected path)The order of what was recorded
Input fieldsThe fields on the screen and whether they are required
Expected resultsWhat should happen as a result

Switch between Preview and Markdown. Use Markdown when you want to paste it into another document.

If the result is not what you expected, choose Regenerate. When the recording itself is thin, recording again is often faster.

History shows earlier versions. You can restore one.

There is an AI model selector at the bottom of the screen. It applies to regenerating and to generating test cases. The default is usually fine.

If you see “Could not generate the specification”, choose Retry. If it keeps failing, the recording may not contain enough. Choose Record again.