# 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)

Mapping to Workflows/Features (Road Map)

Manage Automation Test Scripts development (In Progress)


---

# Agent Instructions: 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:

```
GET https://docs.qatts.com/v-2.0/get-to-start-automating-web-applications/automated-test-execution/2.8-adding-workflows/adding-test-script-action-class.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
