The project demonstrates use of Page Object Model automation framework. The framework implements one test case for showcase purpose.
These instructions will help you get started.
- Java
- Maven
- Browser driver [Project have a chrome driver embedded, chrome version: Version 76.0.3809.100 (64-bit)]
Uses Zero banking site for scenarios.
- Login to the portal successfully and verify landing page.
- Through IDE: right click on "TestsToExecute.java" and run "verifyLogin()"
- Through command prompt: mvn test
Each page have an associated class created for it. Each class with UI elements and methods associated with the page. Classes have UI elements declared as "By" object:
By signinButton = By.id("signin_button");
Which is used in methods as:
driver.findElement(signinButton).click();