> For the complete documentation index, see [llms.txt](https://docs.qyrus.com/desktop-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/desktop-testing/getting-started/maintain/shared-test.md).

# Shared Tests

### Utilizing Test scripts from the desktop service in the Component Service.

You can conveniently reuse Test Scripts in the Component Service by using the "Mark as Component" feature in `desktop-testing`. Here's how it works:

**Step 1:** Mark as Component

* Within the Test Repository, find the "Mark as Component" option for Test Scripts in a Module. Selecting "Mark As Component" adds a flag icon next to the script.

> **Note:** If you modify and save the test scripts, remember to mark them as component again.

![](/files/TimHcwT0APbSU5jkCXVh)

**Step 2:** Access in Component Service

* Once you've marked your desktop test scripts as components, they become accessible in the Component Service. Import them into your respective projects within the Component Service.

**Step 3:** Import Scripts

* Click "Import Scripts" to see test scripts categorized by service.

> ⚠️Note: Our capabilities within the Component Service are limited to executing test scripts from the desktop service as components, and we do not have the ability to edit test scripts.

**Step 4:** Select Service and Scripts

* Choose the desired service to display available Test Scripts.
* Select one or more scripts for import into the component.

**Step 5:** Confirm Import

* Click "Import", which opens a screen where you can choose the necessary projects and confirm the import.

**Step 6:** Success Confirmation

* Upon successful import, you'll receive a confirmation message.

![](/files/xUTilxIOD9WXZJmoeeXy)

This process ensures that the imported test scripts are available in your chosen component projects in draft status.

**Finding Shared Test Cases:**

* Shared Test Cases are located in the Desktop Testing Repository under the Shared Test module on the workspace page.

> Clicking on a shared Test Case reveals the test scripts marked as components.

**Unmarking Shared Tests:**

* To remove the "Mark as Component" designation from a Shared Test, simply choose "Unmark As Component."
