Summary
It is important to keep static utilities separate from the Selenium page object and test classes. This reduces duplicate code, allows users to maintain the framework utilities in a central location, and provides all users who use the framework for testing with a set of classes they can readily include in their tests.
The synchronization class is what makes the framework robust. If users do not synchronize the scripts, they will become unreliable, failing on different browsers, mobile devices, and platforms.
The test listeners, reporters, and image capture utilities provide a built-in mechanism for the framework to report the test results of suite runs. Users only have to include these classes in their test or suite file, and they ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access