CucumberJVM: 10 - BDD, Cucumber, & Selenium Page Object Model

Cucumber BDD - Page Object Model

  • BaseClass
    • WebDriver
    • properties
  • Loginpage.java extends BaseClass
    • WebElements
    • login()
      • return HomePageObject
  • HomePage() extends BaseClass
    • WebElements
  • Feature
  • StepDefinitions
    • calls PageObjects
  • TestRunner
    • conx with Feature & Definition
  •