Using Variables

Variables play a crucial role in scenarios within Directual and are an integral part of the Templating system.

There are two primary types of variables:

  • Global Variables: These variables are accessible and applicable throughout your entire application. They can store data that needs to be shared across multiple scenarios or components within your app

  • Context Variables: Context variables are scoped to a particular scenario run. They are used to store and manipulate data for the duration of a specific scenario's execution

Last updated