Join us on :

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

About Author

Article is written by Pavan (a) KarthiQ. Well, I am serving notice period in an MNC, Bangalore. I thought to enrich every person knowledge a little, I always have a feeling, when we teach something, we will learn more than what you know. Knowledge is the only thing that doubles when you spend it.

I have also created the reporter for Protractor Jasmine. Use for your projects without any hesitation

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions

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