Jump to ratings and reviews
Rate this book

Improve Selenium Code with Automation Patterns: Page Object Model Page Factory Page Elements Base Page Loadable Component

Rate this book
If you ask a tester what he wants to learn next, chances are very high that the answer
Test Automation with Selenium WebDriver!

Most testers agree that manual testing skills are no longer sufficient for a successful career.

Companies still need testers but hire the ones proficient also with programming.

Between a tester that can test a user story and another that can also automate it, the second one has the higher chance of getting the job.

He adds value to the company now with his testing.
He also adds value to the company in the future through his automation.
His automated tests can be repeated any time they are needed.

So testers start learning programming language basics such as
1. Variables
2. Operators
3. Basic types
4. If/Else, Switch, For, While statements
5. Arrays and lists
6. Classes and objects

They also study how to use Selenium WebDriver library components for interacting with
1. Buttons
2. Links
3. Labels
4. Listboxes
5. Images
6. Frames
7. Windows

Out of all learning, automation code is produced for manual test cases.
The code works when played back.

But it is usually long, difficult to read and maintain.

Automation code that just works is not sufficient.

Automation code that is EASY TO READ and MAINTAIN is the goal.

Automation code is always created for other testers and developers who will work with it in the future.

They need to be able to read and understand it easily.

SO THE QUESTION
How do you go from complicated to simple, readable and maintainable code?

By organizing it using the PAGE OBJECT MODEL.

This is what you will learn here.

The book will show you
1. What is Page Object Model
2. How to Create Page Objects
3. How to Create Page Elements
4. How the Page Factory Model is for Simplifying Page Classes
5. How to Reduce the Navigation Code with the LoadableComponent Class
6. How to Make the Page Methods Stable with the SlowLoadableComponent Class
7. What Bad Practices to Avoid when Creating Page Classes

110 pages, Kindle Edition

Published November 23, 2017

27 people are currently reading
31 people want to read

About the author

Alex Siminiuc

3 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (37%)
4 stars
4 (50%)
3 stars
1 (12%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
1 review
December 26, 2017
Good book for beginners

Good book for beginners to get kicked off with page object model and page factory. Although, expected handling of few more real time scenarios in the book. Also, not for intermediate level learners, who already have experience in working with page factory.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.