In this repository we are going to automate UI tests for VRoomDrive using Protractor
The tech stack used for this project are:
- JavaScript as the language for writing test code
- Cucumber as the framework
- NPM as the build tool
- Visual Studio Code as the preferred IDE for writing java code.
Setup your machine.
- Install Node
- Install Protractor by using
npm install -g protractor - Install Visual Studio Code
- Clone the project from
git clone https://github.com/vinaykumarvvs/vroomdrive-protractor.git - Import the project (vroomdrive-protractor) in Visual Studio Code
File -> Open -> Browse Project Location - Now
OpenTerminal/CMD -> cd <change-to-project-location>and then executenpm install
Note: OpenTerminal/CMD -> cd <change-to-project-location>
- First step is to update the webdriver using
npm run update-driver(Not a mandatory step everytime) - Second we need to start the webdriver using
npm run start-driver(It is mandatory before running tests) - So, now open another terminal and navigate to the project location and then execute
npm run ui-teststo run the tests.