STAREAST 2021 Concurrent Session : Flow Model vs Page Object Pattern

Conference archive

Wednesday, April 28, 2021 - 3:45pm to 4:45pm

Flow Model vs Page Object Pattern

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. Working at large fintech and other companies, Peter got to realize: for some, Page Object is not intuitive. 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 flaw. That's why the Flow Model pattern was created. In this approach the structure of the application (Page Models) is separated from the logic (Flow Models). All the user flows are stored in these new models creating a facade over the page objects. Peter will go through the technical details comparing the two approaches, how the Flow Model offers solutions to the Page Object's problems, and how it is easier for testers applying this architecture design. Peter will give examples to help the audience pick the right approach for themselves.

Péter Földházi
EPAM Systems

Péter Földházi has been working at EPAM since 2012 and moved to the USA in 2019. Most of his experience comes from mobile testing, but has experience in desktop and web testing, along with desktop application and game development as well. He has experience in all levels of test automation. Processes, architecture 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 SE 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.