> For the complete documentation index, see [llms.txt](https://docs.umbraco.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.umbraco.com/umbraco-engage/19.latest/marketers-and-editors/ab-testing/previewing-an-ab-test.md).

# Previewing an A/B Test

When running A/B tests using Umbraco Engage, it is recommended to preview the test before running it. Learn how this is done.

There are different ways to preview your A/B Test variants.

## During the setup of your new A/B Test

You can preview a variant while setting up a new A/B Test. Under **Add variants**, select **Preview** next to the variant:

![Preview the variant](https://2694658632-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdeWIZl0opa4iOLq36gzS%2Fuploads%2Fgit-blob-19295ae86f9140ac03a6541eb3a269e521212e2b%2Fengage-ab-preview.png?alt=media)

The page opens in Preview Mode. The variant is selected in the bar at the bottom of the preview, for example **AB Test variant - Yellow background**.

![Preview Mode of the variant](https://2694658632-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdeWIZl0opa4iOLq36gzS%2Fuploads%2Fgit-blob-47877bf7d65f843b70ef81fadffabbe8cde8d2b6%2Fengage-ab-preview-test-preview-mode.png?alt=media)

## During a running test

You can preview all the A/B test variants while a test is running. Open the test to see the **Scoring overview** with the current results. Select the preview icon in the **CSS / JS** column of a variant to preview it.

![You can also preview your variants while the test is running.](https://2694658632-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FdeWIZl0opa4iOLq36gzS%2Fuploads%2Fgit-blob-3c84d6fde1ae3f96212e522bf37df7e5b38b3359%2Fengage-ab-preview-overview.png?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.umbraco.com/umbraco-engage/19.latest/marketers-and-editors/ab-testing/previewing-an-ab-test.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
