Edit steps

There are many ways how you can fix, update or enhance an existing test case by editing its steps.

Change locator

Did the AI agent address the wrong locator? Did you change a flow in the app and you have to point to a different element?

  • Go to the snapshot of the relevant test step
  • Hover over the visual locator picker
  • Click change locator
  • Select a different locator with your mouse in the snapshot

Changing locators with the visual locator picker, 7/2024

Change interaction or assertion type

Use the visual locator picker to change the type of the locator. Your options are:

  • interactions - enter text, press key, select option, click
  • assertions - visible, hidden, disabled, have value

Changing locators types with the visual locator picker, 7/2024

Add and remove steps

Click on add step and drag the new step to its respective place in the step sequence. The snapshot will adapt so you can use the visual locator picker to select the interaction or assertion type.

Delete steps by clicking on the trash icon in the upper right corner of the test step view or by pressing backspace() or the delete key(DEL).

Adding a step with the visual locator picker, 7/2024

Drag & drop a new step, delete a step, 7/2024

Drag & drop, duplicate and copy paste steps

Octomind test steps can be flexibly manipulated. You can drag and drop steps to different places in the sequence, duplicate them by clicking on the duplicate icon in the upper right corner or simply select a step and copy & paste it where you need it. Ctrl+C and Ctrl+V (or Cmd-C / Cmd-V for Mac) works also for copy pasting steps from other test cases.

Duplicate a step, delete a step, 7/2024

Edit prompt and restart AI auto-generation

You can edit the prompt and have the AI agent regenerate test steps based on the new prompt. We will ask you to select the last step in the sequence you want to keep. The AI agent will regenerate test steps from this step onwards.

Or you have simply hit the regenerate button to regenerate the steps based on the same prompt.

Edit prompt and restart AI auto-generation, 7/2024

Edit dependencies

Click on the refresh icon next to the existing test dependency and select a more suitable option to chain your test with.

Editing dependencies in a test case, 7/2024

Choose a different dependency, 7/2024

Save and run edits

Save & run your test case to see if it works. You can click on the run only button if you want to validate the test first before saving it.

Btw, we will warn you if you try to leave without saving the test case.

Double check that your newly edited test is active - the toggle is on. Your active tests will run it in your next test report.

'save & run' the test to validate and save changes, screenshot 08/2024

'run only' to validate the test before saving it, screenshot 08/2024