Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

What is Cucumber Feature File?

Category: BDD Cucumber

This is a file where you will describe your tests in Descriptive language (Like English).
A feature file can contain a scenario or can contain many scenarios in a single feature file but it usually contains a list of scenarios.

Feature: Login Action

Scenario: Successful Login with Valid Credentials
Given User is on Home Page
When User Navigate to LogIn Page
And User enters UserName and Password
Then Message displayed Login Successfully

Scenario: Successful LogOut
When User LogOut from the Application
Then Message displayed LogOut Successfully

Leave a Reply

Your email address will not be published. Required fields are marked *