Best Practices for Building Selenium Page Object Classes

This chapter will cover the basics of how to design and build the Selenium page object classes for the Application Under Test (AUT). The following topics are covered:

  • Introduction
  • Best practices for naming conventions, comments, and folder structures
  • Designing and building the abstract base classes for the AUT
  • Designing and building the subclasses for the feature-specific pages using inheritance techniques
  • Encapsulation and using getter/setter methods to retrieve objects from the page object classes
  • Exception handling and synchronization in page object class methods
  • Table classes
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.228.40