Applies to CucumberStudio 1.0, last modified on January 09, 2020

It is sometimes useful to define values that will be used during automation but make the tests unclear (for example a staging environment url such as in the test below):

Defining CucumberStudio variables for automation

Click the image to enlarge it.

It is possible to rewrite simply this test using symbols. They are prefixed with a column sign, like variables, as shown below:

Defining CucumberStudio variables for automation

Click the image to enlarge it.

Now, when exporting the code for automation, the scenario will use a variable called staging that can be set in the automation layer:

Defining CucumberStudio variables for automation: Exported code

Click the image to enlarge it.

Highlight search results