Maintaining the Script
Last updated
Last updated
Users are empowered with versatile options for managing scripts effectively :
Edit Script: Users can effortlessly modify script details, including its name, objective and tags, ensuring accurate representation.
Clone Script: By duplicating existing scripts, users can save time and create variations while retaining the core structure.
Delete Script: When a script becomes obsolete, users can remove it, maintaining a clean and organized workspace.
Mark as Component: This feature is to make the Test Scripts built in Test Repository, be reused into Component Service.
Move Test to Other Module: When reorganizing, users can relocate scripts to different modules, maintaining order and logical grouping.
Copy Test to Other Module: Users can efficiently duplicate scripts into other modules, enhancing testing efficiency without re-creation.
On Modules page click on the "All Repository" Tab.
Select the module which contains the script to be edited.
Select the "Script" which you want to edit.
Click on the "Three Dot menu".
Select "Edit Script" from the dropdown.
Edit the desired fields.
Click on Update Script .
Select the "Script" which you want to "Clone" .
Click on the "Three Dot menu".
Select the "Script" which you want to "Delete" .
Click on the "Three Dot menu".
Select "Delete Script" from the dropdown.
Delete Script popup will appear for the confirmation.
Click on "Delete Script" button to confirm.
Once the script is deleted a toast message will be displayed "Script Deleted Successfully" .
This feature allows Test Scripts built in the Test Repository to be reused within the Component Service.
Upon clicking "Mark As Component" , a flag icon will appear.
Note: If a user edits and saves the test scripts again, they need to mark them as a component once more
After marking the scripts as components, they become accessible in the Component Service. Users can import them into their respective projects within the Component Service.
As the user selects the appropriate service, the Test Scripts are presented. Users can choose one or more scripts to import into the component.
Clicking the import button opens the screen shown below, allowing users to select the required projects and confirm the import
Upon clicking the import button, a success message is displayed.
This process ensures the imported test scripts are available in the selected component projects, in draft status.
Users can find shared Test Cases from the Test Repository under the Shared Test module on the workspace page.
Clicking on a shared Test Case reveals the marked-as-component test scripts, Users can unmark a Shared Test by selecting "Unmark As Component" under the three-dot menu.
Select the "Script" which you want to "Move test to other module" .
Click on the "Three Dot menu".
Select "Move test to other module" from the dropdown.
Select the module to which you want to move the script.
Click on the "Move to module name" button in the pop up.
Select the "Script" which you want to "Copy test to other module" .
Click on the "Three Dot menu".
Select "Copy test to other module" from the dropdown.
Select the module to which you want to copy the script.
Click on the "Copy to module name" button in the pop up.
Select "Clone Script" from the dropdown.
The Cloned script will be appended with "_copy"
In the Test Repository, access the "Mark as Component" feature for Test Scripts within a Module.
Clicking on "Import Scripts" displays the following page, showcasing scripts under their respective service.