TThis project is written in Java and will serve an example of implementing a Selenium test project with Selenium, the test run on a demo site. The site is a demo of an e-commerce site, and the project cover several flows om the site. I used in the project the Page Object Pattern using PageFactory, Framework contain three major sections:
- pageObjects
- projectUtilities
- Project_TestCases
- Common function class
- Page Object Pattern using PageFactory
- Commonly used test utility classes
- Reports using extent reports
- logs file using Log4j.
- Sikuli (comparing images engine) Sikuli get version 1.1.1 , In order to work with Sikuli Webdriver it needed to download Sikuli file + add sikulixapi.jar to project build path.
- DDT - test input and output values are read from data files in this framework I used Excel file in two test cases.
There is a folder with 3 drivers:
- Chromedriver
- Firefox
- IEDriver