Skip to main content

Variables

Cycle supports storing data in variables for use in Feature Files. Variables can be defined in a number of ways, such as prompting the user in-line for a value, manually establishing a variable using a Step, or by retrieving data using database queries. The ability to store values in variables allows Feature Files to be dynamic and reusable. It should be noted that variables are only valid in the Scenario in which they were created. You cannot use a variable created in another Scenario, unless you use the I execute Scenario "Scenario Name" Step.