From the course: Advanced Selenium: Page Objects and GUI Automation

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Next steps

Next steps

From the course: Advanced Selenium: Page Objects and GUI Automation

Start my 1-month free trial

Next steps

- [Alan] So a few things to try next. Use the sample Todo List application that I created for this course and try to write your own code that interacts with the application. Model the navigation bar and the rest of the application's component objects. Look at your existing test code and consider if the test code is precise enough, and perhaps, add new abstraction layers to make it more readable and maintainable. Download the source code for this course and amend it to make sure you understand how it works, and abstracting takes time. Use the heuristics of don't repeat yourself and single responsibility to objectively review your code and create abstractions, and remember, Dijkstra's quote, "The purpose of abstraction is not to be vague, "but to create new semantic level "in which one can be absolutely precise." If you keep that in mind when you write your code, then abstractions will follow, and do connect with me on…

Contents