# 3.2.2.2 Adding Test Script (Action Class)

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

&#x20;

![](https://218631601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fqatts-technical-docs%2F-MbehjTWQGTgMNM_WHDa%2F-Mbei6L3ZKiOHrnTgDqG%2F0.png?generation=1623140628206136\&alt=media)

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

![](https://218631601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fqatts-technical-docs%2F-MbehjTWQGTgMNM_WHDa%2F-Mbei6L49nQYUdFAzcF4%2F1.png?generation=1623140628197384\&alt=media)

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

![](https://218631601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fqatts-technical-docs%2F-MbehjTWQGTgMNM_WHDa%2F-Mbei6L5bBlK9Ygma1Z8%2F2.png?generation=1623140628193673\&alt=media)

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

![](https://218631601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fqatts-technical-docs%2F-MbehjTWQGTgMNM_WHDa%2F-Mbei6L658umXtRG8xA_%2F3.png?generation=1623140628198087\&alt=media)

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

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

![](https://218631601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fqatts-technical-docs%2F-MbehjTWQGTgMNM_WHDa%2F-Mbei6L7rr-VvjPeOiCL%2F4.png?generation=1623140628202525\&alt=media)

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.

![](https://218631601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fqatts-technical-docs%2F-MbehjTWQGTgMNM_WHDa%2F-Mbei6L8kaOIObar6zz7%2F5.png?generation=1623140629202500\&alt=media)

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

![](https://218631601-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2Fqatts-technical-docs%2F-MbehjTWQGTgMNM_WHDa%2F-Mbei6L9N7Uu-v4eWFvf%2F6.png?generation=1623140628197880\&alt=media)
