Coder Social home page Coder Social logo

visp-automation's Introduction

visp-automation

UI Automation suite for UBO web

Includes

  • WebdriverIO
  • CucumberJS
  • Chai

Check package.json for version

Initialization

  • Install Java
  • Install NodeJS
  • Install Git

Java is required to run Selenium Standalone

For Microsoft Windows:

npm install --global --production windows-build-tools

Running the suite

wdio wdio.conf.js

Ensure Selenium Standalone is already runnnig

java -Dwebdriver.chrome.driver=c:/chromedriver.exe -jar selenium-server-standalone-3.3.1.jar

Folder structure

..features/
	steps/
	support/
	pageobjects/

Installation

Java should be installed on machine

  • Install nodejs (preferred v6.10.2 LTS)

  • At ‘features’ folder level, Install webdriverio locally

    npm install webdriverio --save-dev

    Verify that you can see ‘wdio’ file under node_modules

  • Install Cucumber

    npm install cucumber --save-dev

  • Download Selenium-standalone server

  • Download desired browsers driver e.g. chromedriver.exe (for Windows)

  • Install wdio-cucumber framework

    npm install wdio-cucumber-framework --save-dev

  • Set up Chai as assertion library

    npm install chai --save-dev

visp-automation's People

Contributors

ehtesham1981 avatar

Forkers

ehteshamy2k

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.