Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.85 KB

File metadata and controls

37 lines (21 loc) · 1.85 KB

WebdriverIO UI Automation Framework

Framework Details

Test Automation Framework using WebDriverIO,Cucumber, Javascript,POM,Cucumber-JSON Reporter,Multiple Cucumber Html reporter

WebDriverIO

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

Cucumber

Allows automation of functional validation in easily readable and understandable format (like plain English) to Business Analysts, Developers, Testers, etc.

JS-Javascript

WebdriverIO is written entirely in JavaScript.

POM

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.

Reporting

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.

1628259167605screenshot

To run the framework use following steps:-

  1. Check if you have a version of Node.js already installed on you mac machine.If not,install Node.js from https://nodejs.org/
  2. Clone this repository using [email protected]:biswabose1992/WebdriverIOUIAutomationFramework.git
  3. Run command npm install, to install all dependencies.
  4. Run command npm run test
  5. 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
  6. Screenshots of failed test cases can be seen in the screenshots/ folder in png format