> For the complete documentation index, see [llms.txt](https://docs.qyrus.com/web-testing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qyrus.com/web-testing/build/scriptoperations.md).

# Managing Test Scripts

Once a script exists you can rename it, duplicate it, move it to another module or delete it. All of it starts from the script's **⋮** menu in the module.

## Prerequisites

* A test script. See [Test Scripts](/web-testing/build/creatingscript.md).

## The script menu

Open **Test Repository**, open the module, and click the **⋮** at the end of a script's row.

![The script menu](https://239974709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycS61vFhJMvvtnJCrDJk%2Fuploads%2Fgit-blob-8b7a4204aaf279d461946509e215f69861a90290%2Fbuild-scriptops-01.png?alt=media)

| Item                          | What it does                                |
| ----------------------------- | ------------------------------------------- |
| **Edit script**               | Change the name, objective and tags         |
| **Clone script**              | Duplicate the script inside the same module |
| **Move test to other module** | Relocate it to a different module           |
| **Copy test to other module** | Duplicate it into a different module        |
| **Delete script**             | Remove it                                   |

## Editing a script

Choose **Edit script**.

![The Edit Script panel](https://239974709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycS61vFhJMvvtnJCrDJk%2Fuploads%2Fgit-blob-67ad7184be1f2d826cf7f3fc76c919a5b1714fab%2Fbuild-scriptops-02.png?alt=media)

Change **Test Script Name \***, **Objective \*** or **Tags**, then click **Update Script**. **Cancel** discards your changes.

Both starred fields are required. Tags are how scripts get grouped across modules — see [Tags](/web-testing/analyze/tags.md).

## Cloning a script

Choose **Clone script**. The copy appears in the same module straight away, named after the original with `_copy` on the end.

![A cloned script in the list](https://239974709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycS61vFhJMvvtnJCrDJk%2Fuploads%2Fgit-blob-2144a3c2d7b2857213587ecf1f1f0c953a439012%2Fbuild-scriptops-03.png?alt=media)

Rename it with **Edit script** — a module full of `_copy` scripts gets confusing quickly.

## Moving a script to another module

Choose **Move test to other module**. This opens a full page, not a pop-up. The heading reads **Move test to another module**, and every other module in the project is listed.

![Choosing the destination module](https://239974709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycS61vFhJMvvtnJCrDJk%2Fuploads%2Fgit-blob-c82d491bf8f243011889a928d9d639fb0b90dd5d%2Fbuild-scriptops-04.png?alt=media)

Click the module you want. Qyrus asks you to confirm.

![Confirming the move](https://239974709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycS61vFhJMvvtnJCrDJk%2Fuploads%2Fgit-blob-fb9bfa8f558e4f1cf2158ab55adf10ad389d58a6%2Fbuild-scriptops-05.png?alt=media)

The message reads "This action cannot be undone. It will affect the module structure." Click **Move to&#x20;*****module name*** to go ahead.

**The script takes on the destination module's key.** A script that read `DQB` in Customer Login reads `AOP` once it is in Account Opening. Anything that referred to it by its old key will need updating.

## Copying a script to another module

Choose **Copy test to other module**. The screen is the same as for a move, headed **Copy test to another module**.

![Choosing the destination for a copy](https://239974709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycS61vFhJMvvtnJCrDJk%2Fuploads%2Fgit-blob-4e9fea2fc3e3bf3bbf0553c9ebdc43088b458d72%2Fbuild-scriptops-06.png?alt=media)

Pick the module and confirm. The original stays where it is; the copy behaves like any other script in its new module.

## Deleting a script

Choose **Delete script**. Qyrus names the script in the confirmation so you can check you have the right one.

![Confirming a deletion](https://239974709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FycS61vFhJMvvtnJCrDJk%2Fuploads%2Fgit-blob-697c6cba83e6c991695de520ab1808ea3e067a0c%2Fbuild-scriptops-07.png?alt=media)

Click **Delete Script** to confirm. Deleting a script does not remove its past execution reports.

## Working on several scripts at once

Tick the checkboxes beside several scripts to act on them together. **Delete selected scripts**, **Move test to other module** and **Copy test to other module** all accept a selection.

The star beside a script marks it as a favourite, which makes it easier to pick out of a long list.

## Where to go next

| To read about      | Go to                                                   |
| ------------------ | ------------------------------------------------------- |
| Creating scripts   | [Test Scripts](/web-testing/build/creatingscript.md)    |
| Organising modules | [Test Repository](/web-testing/build/creatingmodule.md) |
