The test definition is the core of your Momentic test. It describes what actions to perform, what elements to interact with, and how to verify the results. You can write the test definition in natural language, and Momentic will convert it into browser interactions at runtime.
There is a toolbar at the top of the editor that provides various actions to manage your test definition.
Here are the available actions:
Add new step: Create a new step in your test definition.
Record: Start recording a new test definition. This will open the browser in recording mode, allowing you to interact with the app and automatically generate steps based on your actions.
Create module: Create a reusable module from selection of steps. This allows you to share logic across multiple tests.
Run from start: Execute the test definition from the beginning. This will reset the browser and run all steps in order.
You can edit a step by clicking on the Edit button. This will open a text editor where you can modify the step’s content. Hover over labels to see tooltips with more information about each option.