In all the previous chapters, you learned to write various test conditions for the web elements present in a web page. A test case is built by combining these conditions. Building a successful test case requires a model in which all the essential functions and methods are integrated into a single test case or script. When test cases are bundled into a single script, the complexity of the test script increases, which makes it difficult to read, modify, or maintain. Page objects are used to solve jumbled-up test script issues on a web page.
The chapter begins with the discussion ...