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

If you do not need to automate your tests and you don’t want to benefit from the refactoring capabilities of the action words, you can choose to use classic action/result steps:

Action/result scenario format

Click the image to enlarge it.

You won’t be able to automate your tests if you don’t use action words.

Let’s activate classic format

You can choose to use this classic format directly at the project creation:

Create CucumberStudio classic project

Click the image to enlarge it.

Or once the project is created, you can choose to deactivate Automation Ready mode in the project settings tab:

Step editor preferences

Click the image to enlarge it.

When this option is deactivated, you can use result/action step in scenario page.

Step editor

Now, you can use 3 types of step in you scenario:

  • an action : “Log in with default account”.

  • a result : “check that user is logged in”.

  • an Action Word : See Use action words section.

The step editor comes along with a powerful suggestion capability that enables you to reuse existing steps and streamline the design of scenarios.

Add new step with suggestion in CucumberStudio step editor

Click the image to enlarge it.

Datatable

You can add a datatable to your scenario. It will enable you to generate several tests with different datasets for a given scenario.

Each column name of the datatable can be used in the steps as a variable.

If the step is an action word call (see Use action words section), you can use it in the argument fields. CucumberStudio will detect automatically that you want use an existing variable and will use =columnName format.

If the step is an action/result step, you can use it with the following syntax: ${columnNane}.

Highlight search results