In the script manager tab, the user can create and manage scripts like copy, move, delete, rename, edit, etc. Users can further add transactions, parameters, and APIs to the script and verify them by adding assertions from the script editor UI.

LEFT PANE

PROJECTS

Projects are the directory where sub-projects are available. Once you select the projects in the left pane, the top 4 scripts based on the last modification or alphabetical order are shown in the script dashboard.

SUB-PROJECTS

Sub-projects are directories where test assets like test suites, scripts, scenarios, etc. are available. When you select a sub-project from the left pane, all the available scripts related to that sub-project are shown.

DATA

In this section, all the data directories are available. Users can upload and use their data files in the data set using the file parameter.

TOP PANE

CREATE SCRIPT

If the user wants to create an empty script, they will click on the “Create Script” button. After clicking on this button, a create script UI will be opened. To create the empty script, you have to fill in the following fields: 

When you create a script without selecting any template, a blank script will be created.

When you create a script with a template, a script will be created based on the selected template. For example, if you select a “WebSocket” template, a sample script will be created with WebSocket APIs and you can edit the script as per your requirement.

UPLOAD

By using this button, users can upload the script and Data files in zip format. Firstly select the project/sub-project where you want to upload and then upload the zip file of script or data. 

SORT BY

The scripts can be sorted in the following ways:

VIEW BY

It shows the name and type of the script with the last date and time modified. It also shows various actions we can take for the particular script.

RIGHT PANE

Right Pane mainly consists of all the recorded and created scripts. When you land on Script Manager UI, the top four scripts based on the last modification or alphabetical order are shown in the script dashboard. If you want to see all the scripts in the script dashboard, you will click on “Show All”.

Select one of the scripts and click on the kebab menu present on the script when you hover over it. You can perform the following actions:

KEBAB MENU

EDIT

To edit the created script, click the "Edit" button. Once clicked, you will be redirected to the script editor UI, where you can make modifications to the existing script.