- Java (JDK)
- Nodejs
- Any IDE such as Visual Studio Code
-
npm install
To install all dependencies
-
npm run webdrivermanager:update
To update or install all executable binaries
-
npm run cucumbertest
To Start the Execution
-
TestRunner.exe
This executable will first install all required dependencies and then start executation.
For More info refer link https://github.com/lkumarra/ProtractorBDDFramework/blob/master/CarsGuide/Config/Config.ts
-
CarsGuide
Name of Project
-
Config
Contains configuration file for protractor which has the code for reporting browser and mail.
-
Features
Contains the Feature file
-
Hooks
Contains the Hooks for Screenshot on test failure.
-
Pages
-
Actions
This Folder Contains action class.
-
Locators
This Folder Contains Locators class.
-
BasePage
This Folder Contains Base Page Class.
-
-
Steps
This folder contains the StepDefinitation file.
-
TestReports
All test reports will be generated in this folder.
-
TestSuite
This Folder contains the suite of Steps and Feature.
-
Utils
This Folder contains the Utility and PageFactory class.