> For the complete documentation index, see [llms.txt](https://docs.qatts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qatts.com/v-3.0/get-to-start-automating-web-applications/automated-test-execution/2.8-adding-workflows/adding-test-script-action-class.md).

# 3.2.2.2 Adding Test Script (Action Class)

On the dashboard, Click on the **Switch Studio.**

&#x20;

![](/files/-Mbei6L3ZKiOHrnTgDqG)

On the studio dash board, Click on **Search icon**.

![](/files/-Mbei6L49nQYUdFAzcF4)

Enter your workflow name, and then click on the **workflow name(login).**

![](/files/-Mbei6L5bBlK9Ygma1Z8)

After click on the workflow name (Login) a page similar to the screenshot below should appear. And then click on **Action class.**

![](/files/-Mbei6L658umXtRG8xA_)

You need enter the all the actions (test script) in action class.

After you complete your script click on **Compile & save** button.

![](/files/-Mbei6L7rr-VvjPeOiCL)

Now your action class gets compiled and displays the compile log in Compile logs

If your action class (test script) doesn't have any issues you will get below screen.

![](/files/-Mbei6L8kaOIObar6zz7)

If your action class (test script) have any issues you will get below screen. You will get Compilation errors in compile logs.

![](/files/-Mbei6L9N7Uu-v4eWFvf)
