# Running Without GUI

URL: https://irs.systems/en/docs/ltt/documentation/ltt-gui-manual/teststand/processmodel/runningwithoutgui

You can run your testplan without GUI.

![TS SeqEdit Start1](/docs/assets/ltt/assets/ts-seqedit-start1.png)

Just press the **green arrow button** in TestStand after you have loaded your testplan.

![TS SeqEdit Start2](/docs/assets/ltt/assets/ts-seqedit-start2.png)

First the **ProcessSetup** and **PreUUTLoop** sequences will execute. The latter one will connect to your MesSy (only if MesSy is enabled in [StationGlobals](/en/docs/ltt/documentation/ltt-gui-manual/teststand/predefinedvariables#stationglobals)). After a while the default TestStand **UUT Information dialog** will appear. You are limited to one DUT. You can ignore the **UUT Serial Number** input and just press **OK** to go on with your testplan.

Now the **MainSequence** will run. It will call one of your existing [operation mode sequences](../operationmodes/) depending on the current **TCC value** and how you have [mapped](/en/docs/ltt/documentation/ltt-gui-manual/lttgui/dialogs/f10testparameterconfiguration/operationmodemappings) it (read chapter [Order of execution](/en/docs/ltt/documentation/ltt-gui-manual/teststand/processmodel/orderofexecution) for more details). After a fresh installation there is a default mapping to the one and only operation mode **\[insert name]** when the (simulated) TCC returns 0.

> To make your testplan execute a certain operation mode when running standalone in TestStand you need to configure a mapping in LTT GUI [F10 dialog](../../LTTGUI/Dialogs/F10testparameterconfiguration/) and make sure that your TCC (simulated or real) returns the correct value.

For a correct operation some variables also need to be set, which will normally be done by LTT GUI. You need to set the **MesSy V2 StationID** or **MesSy V1 Bus/Slot** variables manually (read chapter [MesSy integration](/en/docs/ltt/documentation/ltt-gui-manual/teststand/messyintegration)).

The best place for setting variables manually is in **PreUUTLoop**. There is already a Statement step placed, with some commented out code. Just uncomment it and set the variables according your needs.

![TS SeqEdit Preset Variables](/docs/assets/ltt/assets/ts-seqedit-preset-variables.png)

When the operation mode sequence has finished, the execution will pause and you need to manually resume it again in the **UUT Information dialog** or terminate the execution.

![TS SeqEdit Finished](/docs/assets/ltt/assets/ts-seqedit-finished.png)

When you press **Next UUT** and then **OK**, the operation mode will start again. You can change the TCC value in between to switch to another operation mode as long as you have mapped it in LTT GUI.

When you press Exit the **PostUUTLoop** and **ProcessCleanup** sequences are called and the execution stops.

> If you want to stop the execution during an operation mode you can press Terminate in the **UUT Information dialog**.

![TS SeqEdit Running](/docs/assets/ltt/assets/ts-seqedit-running.png)
