Test Automation Framework using WebDriverIO,Cucumber, Javascript,POM,Cucumber-JSON Reporter,Multiple Cucumber Html reporter
Implements the Webdriver protocol API and can run browser in an automated way.The framework is designed to work in any arbitrary environment and for any kind of task. It is independent from any 3rd party frameworks and only requires Node
Allows automation of functional validation in easily readable and understandable format (like plain English) to Business Analysts, Developers, Testers, etc.
WebdriverIO is written entirely in JavaScript.
Widely used design pattern in Selenium for enhancing test maintenance and reducing code duplication. Page object model (POM) can be used in any kind of framework such as modular, data-driven, keyword driven, hybrid framework etc.
Cucumber-JSON Reporter reporter will generate a Cucumber JSON file for each feature that is being tested. The JSON file can be used with multiple-cucumber-html-reporter report to generate report in html format.
- Check if you have a version of
Node.js
already installed on you mac machine.If not,install Node.js from https://nodejs.org/ - Clone this repository using
[email protected]:biswabose1992/WebdriverIOUIAutomationFramework.git
- Run command
npm install
, to install all dependencies. - Run command
npm run test
- After tests finish results will directly open in brrowser or you can go to the folder
reports/report-html/index.html
which will contain test results - Screenshots of failed test cases can be seen in the
screenshots/
folder in png format