PageObjectModel/README.md

635 B

Page Object Model

Examples from Selenium WebDriver adopting Page Object Model.

Each test class has its own main method, so they are meant to be executed individually to showcase different Selenium features.

Run on Eclipse

  1. Package Explorer
  2. Browse to src/tests package.
  3. Select the .java file that you want to run.
  4. Contextual menu > Run As > Java Application

Notes

  • GettingStartedTests.java needs to be run with -ea or -enableasserts as arguments.
  • InputsWithUIDialogsTests.java needs the name of a valid file in your system.