# Testing an Activity

## 👱 Test Users

Before you can get started testing an Activity, you first need to have Test Users set-up.  Check out our **Setting Up A Test User** tutorial [here](https://www.fasttrack-solutions.com/en/resources/knowledge-base/ft-crm/quality-assurance/setting-up-a-test-user).

## ✅‍ Activity Testing

Activity testing is the process of sending Actions, Action Groups, or Translations from an Activity or Lifecycle, to a test user, to simulate the player experience.  &#x20;

Check out [Activity Testing](https://www.fasttrack-solutions.com/en/resources/knowledge-base/ft-crm/quality-assurance/activity-testing) for more information.&#x20;

## 🧪 Testing An Activity

Once you have your Test User(s) set up, we can start testing Activities and Lifecycles.

**Step 1**: Open the Activity or Lifecycle activity you wish to test the action/communication for

**Step 2**: Select the Action Group, Action or Translation to be tested by selecting the **Activity Testing** icon

Choose from an entire **Action Group:**

![Test Action Group](https://3654650655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGrxN2ttYCb8JwJc2TS%2Fuploads%2Feq0uPG7ao5jitxOxsf4Q%2FScreenshot%202024-06-03%20at%2013.56.02.png?alt=media\&token=df4e05a6-90df-4640-91f2-9a1b96dfd0f3)

An **Action:**

![Test Action](https://3654650655-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGrxN2ttYCb8JwJc2TS%2F-MShSH-BKv0-XAKH9i2l%2F-MShSq3GneKn3HaaMXS7%2FTesting%20an%20Activtiy%20-%20Image%202.png?alt=media\&token=ac969391-dd40-4670-bc92-4efe12908663)

Or an individual **Translation**:

![Test Translation](https://3654650655-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGrxN2ttYCb8JwJc2TS%2F-MShSH-BKv0-XAKH9i2l%2F-MShSvXbZGMtFu0tGibe%2FTesting%20an%20activity%20image%203.png?alt=media\&token=680ef9e3-9e93-44b9-89b2-f2cbc74d07e4)

**Step 3**: In the **Activity Testing** panel, select the **Test User(s)** you wish to send the communication to and click **Next**.

![Select Test User](https://3654650655-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGrxN2ttYCb8JwJc2TS%2F-MShSH-BKv0-XAKH9i2l%2F-MShT182Ea7-j75gA1Ur%2FList%20of%20test%20users.png?alt=media\&token=ae0ea38b-9747-4531-915a-ca58d813f89f)

**Step 4**: If your selected Activity includes more than one Communication Profile, you will be asked to select which C**ommunication Profiles** should be sent to the **Test User(s)**.&#x20;

![Select Communication Profile(s)](https://3654650655-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGrxN2ttYCb8JwJc2TS%2F-MShSH-BKv0-XAKH9i2l%2F-MShTCxoAN5FeX9CPmDm%2FCommunication%20Profile%20Activity%20Testing.gif?alt=media\&token=b30bbd96-510a-4308-b3ef-43620c2a1392)

**Step 5**: If your selected Activity is using **variables that relate to the Trigger**, you will have some additional **advanced options**.&#x20;

*If your Activity does not include any variables related to the Trigger, then you will not be presented with this option and can skip to **Step 6**.*&#x20;

You can choose to **override the sample Trigger event values** according to your Activity trigger to test how the information in the variable will be displayed.

{% hint style="info" %}
**Example**: You have an Activity that will trigger an **Email** to notify players when they have an **Approved Withdrawal.**

The Email action uses the Trigger variable **#amount#** to inform the player that they have an approved withdrawal of X amount.

Whilst testing the email Action you have the option to override the sample values for #amount# with a value of your choice. This allows you to test how the information will display in the email.

The sample value for #amount# is '**12.3**'.&#x20;

We can change this to '**50**'. **Therefore the test Email sent to the Test User will display €50 instead of 12.3.**&#x20;
{% endhint %}

![Email with Trigger variable](https://3654650655-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGrxN2ttYCb8JwJc2TS%2F-MShSH-BKv0-XAKH9i2l%2F-MShTMa9J9RpZRMXSWP2%2FEmail%20with%20trigger%20variable.png?alt=media\&token=9c5b0852-cc05-4c2a-82e7-45574406055c)

![Override Trigger Data](https://3654650655-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGrxN2ttYCb8JwJc2TS%2F-MShSH-BKv0-XAKH9i2l%2F-MShTUF8UsBIN3vad4ge%2FOverride%20Trigger%20data%20email.gif?alt=media\&token=5d01d71f-5f3d-401a-9d3e-bbfdb7537aeb)

**Step 6**: **Review the summary** of what (Action) is going to be triggered and to whom (Test User) and **execute**. Your test user should now receive the selected Actions.&#x20;

![Review and Execute](https://3654650655-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGrxN2ttYCb8JwJc2TS%2F-MShSH-BKv0-XAKH9i2l%2F-MShTbDazpN1Ifu0b3wR%2FTestng%20an%20Activity%20Image%206.png?alt=media\&token=13eb918b-83d9-48f1-ae79-e3994a80e3a0)

**Here's a full run-through of all the steps above:**

![Test Activity - Action Group](https://3654650655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MGrxN2ttYCb8JwJc2TS%2Fuploads%2Fglee9Gjv1IxBZaqr4gBj%2FTest%20Activity%20Run%20Through.gif?alt=media\&token=a606effc-25aa-403e-979e-5a159143b523)
