> For the complete documentation index, see [llms.txt](https://docs.qyrus.com/device-farm/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/device-farm/ai-session/save-a-session-as-a-project-test.md).

# Save a Session as a Project Test

After an AI Session completes, you can save it as a reusable test in an existing project.

## Open Save as Test

1. Complete an AI Session.
2. Select **Save** in the session workspace.
3. In the **Save as Test** panel, keep **Existing project** selected.
4. Open the **Project** dropdown.
5. Search for or select an existing project.
6. Enter a **Test name**.
7. Select **Next**.

The Save as Test panel displays the selected project, test name, and platform before moving to setup.

![Save test destination](https://2346916530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkSZu8cT8D2Zwayrr4I91%2Fuploads%2Fgit-blob-849be81c2a709fdaa78c34696b4ec04ecd07f034%2Fsave-test-destination.png?alt=media)

## Configure Test Setup Options

The setup step provides these independent options:

* **Save session values as test data** — preserves values used during the session so the reusable test can use them later.
* **Keep this device with the project** — makes the selected device easier to choose when the test runs again.
* **Keep this app with the project** — attaches the same app build for future runs. This option applies when an app was selected for the session.

When **Save session values as test data** is enabled, a **Dataset name** field appears. Enter a meaningful name for the saved dataset. The device and app options remain independent and do not change automatically.

<div align="center"><img src="https://2346916530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkSZu8cT8D2Zwayrr4I91%2Fuploads%2Fgit-blob-4f794ca34c2aaf64644a220db6fd55e8f7277bf8%2Fsave-test-options.png?alt=media" alt="Save test options"></div>

## Save the Test

1. Review the project, test name, platform, and optional setup selections.
2. Select **Save as Test**.
3. Confirm the success message and saved project/test path.

For example, the application confirms that the session was saved to:

```
Session Studio Apps / Search Google for Qyrus
```

The saved test is then available from the selected project’s Tests view. A separate success screenshot is not required for this flow.

## Optionally Add Rerun Guidance

After saving, open the test from the project and select **Steps**. Every saved test can have an optional **Nudge** on an individual step; Record for Automation does not need to have been enabled when the original session was run.

1. Select **Add nudge** on the step that may vary during a rerun.
2. Enter a short note describing the acceptable variation.
3. Select **Save Changes**.

![Saved test Steps with nudge](https://2346916530-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkSZu8cT8D2Zwayrr4I91%2Fuploads%2Fgit-blob-adb625f2386f95adbba043374980a65084e40531%2Frecording-saved-test-steps.png?alt=media)
