Skip to content
/ .. / .. /
Managing Feature Files





Managing Feature Files

Creating New Files

To create a new empty file, right-click on a project in the Project Window -> New -> File:

alt text

Alternately, right-click on the Project Window -> New -> File:

alt text

This can also be done using the File menu:

alt text

Creating a New Feature File

After navigating to New, select either Feature or Feature With Scenario Outline, depending on the test case requirements:

alt text

When creating a new file, if the same name exists, the following error message will appear:

alt text

Feature Files

Assign a File Name and a Scenario Name then click OK.

alt text

The Test Case Window will display the following template:

alt text

Feature Files with Scenario Outline

Assign a File Name and a Scenario Outline Name then click OK.

alt text

The Test Case Window will display the following template:

alt text

Open File

Feature Files in currently-open projects will appear as green icons in the Project Window: alt text

From File menu, select Open:

alt text

Then select a file from the list:

alt text

Running Test Cases

There are three ways to run a test case.

Right-click the Feature File in the Test Case Editor Window, then select Run from the drop-down menu:

alt text

Right-click the Feature File in the Project Window -> Run:

alt text

Right-click the Feature File from Project Window menu bar -> Run:

alt text