Skip to main content

Scenario Builder Reference

Scenarios are composed of one or more steps that can be asserted throughout a gameplay recording. Steps are asserted in the order they appear in the Scenario, and if any step fails, the Scenario will fail.

Additionally, each scenario is also executed in the order that they are present within the Validation Suite. However, if a particular scenario fails, the following scenarios will still be executed. Each scenario always starts at the tick that the last scenario left off at.

Step Types

Wait for Scene

Wait for a specific scene to be loaded to be loaded or unloaded.

Wait for Key

Wait for one or more keys to be pressed or released.

Wait for Mouse

Wait for a mouse button to be pressed or released.

Wait for Existence

Wait for a specified number of game objects, of a specific type, to exist or not exist.

Wait for State

Wait for a specified number of game objects, of a specific type, to have state values that match a comparison. This comparison can either be a manually input value, or a stored value from a previous step.

Store Value

Store a game object's state value to be used in later steps. Note that the value and entity must be present when this step is executed, so be sure to place this step after a step that asserts the existence of the entity.