
上QQ阅读APP看书,第一时间看更新
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