29
Apr
install rest assured and cucumber maven dependencies
- Open IntelliJ
- Go to File > New > Project
- Select Maven
- Click on the Next button
- Give the project name and click on the Finish button
- Now open pom.xml file
- Add following dependencies:
Let's become the Software Development Engineer in Test
Go to CMD and give this command:mvn --version
If you get an error as:
‘mvn’ is not recognized as an internal or external command
Then you must have to configure maven
Download maven Binary zip archive… Read more
In this project, we will pass some data through our step definitions. We will visit an e-commerce site and try to log in with valid and invalid credentials. Our goal is to pass the credentials through our step definitions.
Create a folder and open with vs code
Open terminal and hit the command:npm i puppeteer cucumber chai cucumber-html-reporter
Then go to package.json and update the following code:
"scripts": {
"test": "cucumber-js -f json:cucumber-report.json"
},