# Create a Test/Variant Group

*If you using Webflow, then you should follow the guide here:* [Optibase Webflow App](/webflow-app/optibase-webflow-app.md)

To run an A/B Test, Split Test, or Multivariate Test in Optibase, you first need to create a Test — this is where you define what you’re testing, how, and under which conditions.

### How to create a Test

1. Go to the Tests page from the left-hand menu<br>

   <figure><img src="/files/6iy6owx6jX6njD9KY083" alt=""><figcaption></figcaption></figure>
2. Click the New Test button in the top-right corner<br>

   <figure><img src="/files/dzYmPg2cm6jfqZY9UjDW" alt=""><figcaption></figcaption></figure>
3. Enter a name for your test
4. Select a Test Type:
   * A/B Test (Variant Group)
   * Split Test (URL-based)
   * Multivariate Test
5. Click Create<br>

   <figure><img src="/files/PW31RuPs0fPtwWVR7oQF" alt=""><figcaption></figcaption></figure>

***

### Multivariate Test Setup

If you’re creating a Multivariate Test, you’ll need to define one or more Variant Groups.

Each Variant Group:

* Represents one element on the page you want to test
* Functions like a mini A/B Test inside the larger Multivariate structure

For each element you want to test:

1. Create a Variant Group
2. Add at least two Variants (e.g. headline A vs. headline B)

Optibase will automatically generate all combinations of variants across the Variant Groups to test how different changes perform together.

***

### Managing Test Status

You can change the status of a test from the top-right corner of the test page.

* Draft – The test is not live and won’t run
* Active – The test is live on your website
* Paused – The test is temporarily stopped but not deleted

A test must be set to Active for it to appear on your site and for variants to be shown to users.

***

### Create Variants

After creating a test, you’ll need to define the actual Variants that users will see.

* A/B Variants: [Create an A/B Variant](/features/tests/create-an-a-b-variant.md)
* Split Variants: [Create a Split Variant](/features/tests/create-a-split-variant.md)

***

### Audience Restrictions

You can control who sees your test by setting optional restrictions. These are configured in the test sidebar or under Test Settings.

#### Supported restriction types:

* Location (Geo-Restriction)

  Limit test visibility to users from specific countries or regions. Useful for localized campaigns or regional content testing.
* Screen Size

  Show the test only on certain viewport widths. Ideal for running desktop-only or mobile-only tests.
* Operating System

  Target users based on their OS, such as Windows, macOS, iOS, or Android.
* Browser

  Run tests only in selected browsers (e.g. Chrome, Safari, Firefox, Edge). Helpful when testing browser-specific issues or styles.

These restrictions ensure your tests run only for the relevant audience — improving data quality and control.

***

### Test Settings

Inside the Settings tab of your test, you can:

* Change the test name
* Delete the test
* Review or update all restriction rules


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.optibase.io/features/tests/create-a-test-variant-group.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
