# Create a Test/Variant Group

*If you using Webflow, then you should follow the guide here:* [optibase-webflow-app](https://docs.optibase.io/webflow-app/optibase-webflow-app "mention")

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="https://2665225050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvnlQY2elcSlIpeLEpEAd%2Fuploads%2FJzTGqTXY5BA9RCa1YPKC%2FScreenshot%202025-10-13%20at%2021.02.00.png?alt=media&#x26;token=7733bac9-5060-446b-a738-ec1f6301167f" alt=""><figcaption></figcaption></figure>
2. Click the New Test button in the top-right corner<br>

   <figure><img src="https://2665225050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvnlQY2elcSlIpeLEpEAd%2Fuploads%2FYIauCnVYpfKLHZTc8OC9%2FScreenshot%202025-10-13%20at%2021.02.09.png?alt=media&#x26;token=b3a3602a-5eb1-4662-a20f-0f9dd0e230b8" 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="https://2665225050-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvnlQY2elcSlIpeLEpEAd%2Fuploads%2FanNfezGRnCcZvmo9qmQn%2FScreenshot%202025-10-13%20at%2021.02.36.png?alt=media&#x26;token=5c5ec8f5-5380-4922-8fb1-a567b726e699" 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](https://docs.optibase.io/features/tests/create-an-a-b-variant "mention")
* Split Variants: [create-a-split-variant](https://docs.optibase.io/features/tests/create-a-split-variant "mention")

***

### 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
