# Péter Földházi Jr – Flow Model vs Page Object Pattern

> Flow Model vs Page Object Pattern - Péter Földházi Jr. Canonical page: <https://zapple.tech/blog/aqa-process/peter-foldhazi-jr-flow-model-vs-page-object-pattern/>

In this talk, Péter Földházi Jr compares the Flow Model with the Page Object Pattern for modelling an application in test automation. He notes why Page Object is popular, that some find it unintuitive, and how it breaks the Single Responsibility principle, one of its most criticized flaws.

*Péter Földházi Jr – Flow Model vs Page Object Pattern*

## Speech bullet points:

- The Page Object Pattern is widely known and used amongst Test Automation Engineers
- It allows engineers to model the application for their tests, reusing certain elements, making the test solution more structured and hence decreasing maintenance cost and the learning curve of test automation
- For some, Page Object is not intuitive though
- From a tester’s point of view, it could be improved
- Moreover, it breaks the Single Responsibility principle, which has been one of its most criticized flaws
- Etc.

## About speaker:

Peter has been working at EPAM since 2012 and moved to the USA in 2019 where he has been working as a Test Automation Consultant and as a Quality Architect.

He has experience in mobile, web and desktop testing in all levels of test automation in the financial, gaming, fitness and other domains.

Processes, architecture, code quality and customer satisfaction are highly import to him. He is the first European and one of the first people in the World having successfully taken and passed the ISTQB CTAL Test Automation Engineer module exam.

He is actively helping the ISTQB by reviewing syllabi of foundation and advanced levels. Peter is also an active speaker, having attended meetups and software engineering conferences with multiple topics. He used to be a guest lecturer at 3 Budapest based universities: Óbuda, Pázmány and the ELTE universities. Brewing beer and planting chilis are some of his hobbies.

**This is part of the speech from the online Test Automation Meetup – July 2022**

## Key takeaways

- Why Page Object is widely used in test automation
- How it reduces maintenance cost and the learning curve
- Page Object is not intuitive for some
- The Single Responsibility criticism
- The Flow Model as the alternative

## FAQ

### What is the Page Object Pattern?

According to Péter Földházi Jr, the Page Object Pattern is widely known among test automation engineers. It lets them model the application for their tests and reuse elements, which makes the solution more structured and lowers maintenance cost and the learning curve of test automation.

### What are the criticisms of the Page Object Pattern?

Péter Földházi Jr says that for some people Page Object is not intuitive, and that from a tester's point of view it could be improved. He also points to its most criticized flaw: it breaks the Single Responsibility principle.

### Who is Péter Földházi Jr?

Péter Földházi Jr has worked at EPAM since 2012. He moved to the USA in 2019, where he works as a Test Automation Consultant and Quality Architect. He is actively helping the ISTQB by reviewing the syllabi of the foundation and advanced levels, and he spoke at the July 2022 online Test Automation Meetup.
