Friday, 26 May 2017

How to execute protractor cucumber

I'm new to Protractor Cucumber, I have created the below scenario and execute the comment cucumber.js. But once I given the comment cucumber.js in command prompt the cucumber.js file (located in: "c:\user....\AppData\roaming\npm\cucumber.js") file got open in my notepad.

...\features\text.feature

Feature: To test the google page

Scenario: to perform search in google page

Given I visit google home page

When I enter keyword

Then I should see the results

Could any one help to execute the feature file to get the step definition skeleton.



via KAK

No comments:

Post a Comment