# How steps work

Source: https://timetick.io/docs/tests/steps

Who performs each step of an OCPP test, the simulator, your CSMS, TimeTick or a person at the charger, and what to do when a step is waiting.

There are two kinds of steps. Some happen at the charger, like plugging in. Others are commands from the CSMS and start with `Remote:`. Who does them depends on what you test.

![Who does each kind of step.](../../../assets/diagrams/who-does-what.svg)

| | Steps at the charger | `Remote:` steps |
| --- | --- | --- |
| Testing your CSMS | The simulator does them | You send the command from your CSMS |
| Testing a charger | A person does them at the charger | TimeTick sends the command |

## When a step is waiting for you

Open the run to see which step is waiting.

- **Testing your CSMS:** send the command in the step's name to the simulator. For `Remote: Reset`, reset the charger in your CSMS.
- **Testing a charger:** do what the step says, for example plug in the cable or tap the card.

A step finishes by itself when the [message you expect](https://timetick.io/docs/tests/expected-results) arrives. You can also click **Pass** or **Fail**.

## If a step fails

By default the test goes on. To stop the test at the first failure, open the step and turn off **Allow step to fail**.

## Find a step

Open **Steps** in the portal, or ask your AI agent:

```text
Which TimeTick steps can I use to test smart charging on OCPP 2.0.1?
```
