Testing with Variables & Variable States - Personas

Tahsim Ahmed
Tahsim Ahmed
  • Updated

How to use personas and variable states? How to test my prototype with variables?

Testing with All Variable States

To configure variable values for your test, choose ‘All Assistant Variables’ from the dropdown in the left sidebar. Update the variable values and run your test.

Note: All Variables have a default value of 0 before testing

Testing with Personas and Use Cases with Specific Variable States

Variable States let you define variable pre-sets for the scenarios, use cases or user personas for which you’re designing (e.g. New/Return, Authenticated/Unauthenticated users). States are managed on the assistant-level and can be used by all team members. 

Creating Variable States

To create a state, enter Test mode. 

From the ‘Select a Variable State’ dropdown, hit ‘Add New.

Enter a name for your state (e.g. Authenticated User)

Choose a starting block for your state. This defines where the test conversation will begin. (Coming Soon)

Lastly, choose the variables and values you want to associate with the state.

Once saved, the state will automatically be applied to your Test.

Applying a Variable State to a Test

To apply a Variable State to your test, either choose a state from the left sidebar or from the selector in the Test Dialog.

Once you’ve selected a state, hit ‘Run Test’

You can reset the test’s selected state by clearing it in the Test Dialog or the left sidebar. 

Note: Variable States can also be applied to Shared Prototypes

Manually changing state values

To run a Test using different state values, click into the desired variable input in the left sidebar

Update the value and run your test

Note: You can choose to save your updated state values by hitting the update icon in the left sidebar

‍Modifying Variable States

To edit the name, starting block or variables for an existing state, select ‘Manage States’ from the left sidebar dropdown.

Make your desired updates and hit ‘Save’

Deleting Variable States

To delete a state, select ‘Manage States’ from the left sidebar dropdown

From the management screen, hit the trash icon next to the state you want to delete

Was this article helpful?

2 out of 2 found this helpful

Have more questions? Submit a request



Article is closed for comments.