Skip to content

A simple example to understand using Page Object Pattern model with Selenium in easy way.

Notifications You must be signed in to change notification settings

emreyvz/selenium-page-object-pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Web Automation with Page Object Pattern

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)

Dependencies & Tools

  • Selenium (ver. 3.141.5)

  • Log4J (ver. 2.14.1)

  • JUnit (ver. 4.13.2) (.jar)

File Explorer

📁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

About

A simple example to understand using Page Object Pattern model with Selenium in easy way.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages