A basic web automation that created with the Page Object Pattern. To start test, build & run mainTest.java file.
You can reach my article about Page Object Pattern and Selenium below. Also this repository is the same one that used in article. So feel free to read article for more clear information.
Page Object Pattern by Emre Yavuz - Medium (Turkish)
-
Selenium (ver. 3.141.5)
-
Log4J (ver. 2.14.1)
-
JUnit (ver. 4.13.2) (.jar)
📁src
📁 main
📁 test
📁 java
📁 base
📁 BasePage.java
📁 BaseTest.java
📁 constants
📁 ConstantsBasketPage.java
📁 ConstantsHomepage.java
📁 ConstantsLoginPage.java
📁 ConstantsProductsPage.java
📁 ConstantsSpecificProductPage.java
📁 models
📁 user.java
📁 pages
📁 BasketPage.java
📁 HomePage.java
📁 LoginPage.java
📁 ProductsPage.java
📁 SpecificProductPage.java
📁 test
📁 mainTest.java