Cucumber

Packages required for Cucumber

We don't get the cucumber along with our protractor packages, we have to install below packages to works with Cucumber and protractor

  • First and foremost Protractor
  • 
    										npm install protractor			
    										
  • Typescript
  • 
    										npm install typescript			
    										
  • Cucumber dev
  • 
    										npm install --save-dev cucumber 		
    										
  • Cucumber types
  • 
    										npm install --save-dev @types/cucumber			
    										
  • Cucumber protractor Framework
  • 
    										npm install protractor-cucumber-framework --save-dev
    										
  • ts-node
  • 
    										npm install  ts-node --save-dev	
    										
  • chai
  • 
    										npm install  chai --save-dev
    										
  • chai as promised
  • 
    										npm install chai-as-promised --save-dev 
    										
  • chai types
  • 
    										npm install @types/chai --save-dev
    										
Apart from the installation we have to add a plugin in VS code to ease the woking with cucumber, this is not a mandatory but it will be helpful. Someother plugin may replace it in future but as of now I am proceeding with plugin. cucumber-gherkin-plugin-protractor-typescript gherkin-indent-plugin-cucumber-protractor

xxxx

ttttttt

xxxx

ttttttt

xxxx

ttttttt

xxxx

ttttttt

ttttttt

xxxx

ttttttt

xxxx

ttttttt

xxxx

ttttttt

xxxx

ttttttt

xxxx

ttttttt

xxxx

ttttttt

xxxx

ttttttt

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions
  • Ram
    Why is this article incomplete? 
    Reply
  • Kundan Kotanagle
    create one project in cucumber with protractor step by step for understanding purpose please give me the documentation about cucumber with protractor which tools used and how to generate the step in cucumber please help me..
    Reply
    • Kundan Kotanagle
      But ho to generate the step defination in cucumber with protractor
      Reply
  • Recent Addition

    new tutorial Protractor Online Training : We have closed registration for training

    Please do email to chercher.tech@gmail.com for any queries

    If you already registered then please do check your email for the Webex link