> For the complete documentation index, see [llms.txt](https://docs.walnutai.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.walnutai.ai/test-and-quality-management/test-management/test-cases/manage-test-step.md).

# Manage Test Step

Each test step provides a range of actions that enable you to control and customize the execution flow with precision.

Within the Test Case Editor, you have full control over step behavior, supported by smart shortcuts for faster and more efficient execution:

**Smart Shortcuts**

* **Global Variables**: Type `$(` to access a dropdown of static, project-wide values.
* **Runtime Variables**: Type `$[` to access dynamic values generated during execution.
* **Local Variables**: Type `${` to open a dropdown for data specific to the current test case.
* **Actions Menu**: Type `/` to open a comprehensive menu that includes objects, test case types, variables, and reusable actions.

**Step Actions**

* **Object Management**: Add or modify the object associated with a specific step.
* **Create New Step**: Insert a new test step at any point in the sequence. Define the step description and expected result to refine validation logic.
* **Advanced Logic**: Apply conditional logic such as if/else statements, loops (e.g., while), or invoke a nested test case.
* **Skip Step**: Skip a specific step during execution without removing it from the test case.
* **Screenshots**: Capture and view screenshots for individual steps as visual evidence.
* **Delete Step**: Remove a test step that is no longer required.
* **Export**: Export the complete test case as a Playwright script for external automation use.

{% hint style="info" %}
After making any changes, you must click Save before navigating away to ensure your updates are not lost.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.walnutai.ai/test-and-quality-management/test-management/test-cases/manage-test-step.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
