Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Selenium – page object framework overview

858 views

Published on

TEST AUTOMATION
QuickTest Professional (QTP)  Selenium WebDriver  API Test  Unified Functional Testing (UFT)  WinRunner  ServiceTest  Sprinter  LoadRunner  SOAP UI

Published in: Business
  • Be the first to comment

  • Be the first to like this

Selenium – page object framework overview

  1. 1. Selenium Page Object Framework Implementation Karthik Subramanian https://www.linkedin.com/in/karsub1 karsubp@gmail.com
  2. 2. Modular Design • Code split into: (numbers are for visualization only) 1. Data Driven using Excel files 2. GUI Components – Mapped to Class files (List, Table etc…) 3. Page Objects – Selenium Java Classes mapped to Application Pages 4. Test Results– Custom HTML format reports 5. Utility functions and Reusable function libraries 6. Object Repository / XML Properties file – XPath / CSS locators 7. Test Execution using TestNG
  3. 3. Framework Architecture
  4. 4. Modular Design
  5. 5. Modular Design
  6. 6. Sample GUI Components
  7. 7. Sample Page Objects
  8. 8. Sample TestNG Config file
  9. 9. Sample Test Execution Results
  10. 10. Selenium Page Object Framework Implementation Karthik Subramanian https://www.linkedin.com/in/karsub1 karsubp@gmail.com Meet The Expert Introduction to Integral Framework

×