Required libraries
- Eclipse Java EE IDE for Web Developers (version: Neon.1a Release (4.6.1)
- TestNG for Eclipse Plugin (see this link https://github.com/cbeust/testng-eclipse for how to install TestNG with Eclipse)
- Install chrome webdriver: download chrome webdriver from https://sites.google.com/a/chromium.org/chromedriver/downloads
3.1. On Mac: put chrome webdriver file to /usr/bin
3.2. On Windows: go to Environment Variables, include the path of chrome driver to system path variable
- How to run:
4.1. Checkout the repo and open with Eclipse (remember to install from all steps above)
4.2. Indiviual class: select test clases from "suites" package right-click and Run As---> TestNG Test
4.3. All test cases: select testng.xml, right-click and Run As ---> TestNG Test
- Report: Browse index.html file from test-output folder to view the result This is for test