Home

Jobs

Blogs

Contact us
Verwin Forum Ask Question
Verwin User Default Image
How to differentiate between POM and Page Factory in Selenium?
 Posted on 27/8/2020
8 Answers
Verwin User Default Image Pradeep DH Answered on 30/8/2020
Page object model : it is used to declare the pom class elements 

Page factory elements: it is used to initilise the pom class elements
Verwin Rao Thulasi Rao Thulasi Answered on 28/8/2020
Page Factory is a class provided by Selenium Web Driver to support Page Object Design patterns. Page Factory supports Page Object Model design pattern.
Page Object Model, also known as POM is a design pattern in Selenium that creates an object repository for storing all web elements. It is useful in reducing code duplication and improves test case maintenance.

How to differentiate between POM and Page Factory in Selenium?
Page object model : it is used to declare the pom class elements 

Page factory elements: it is used to initilise the pom class elements
Verwin User Default Image
Answered on: 30/8/2020
Page Factory is a class provided by Selenium Web Driver to support Page Object Design patterns. Page Factory supports Page Object Model design pattern.
Page Object Model, also known as POM is a design pattern in Selenium that creates an object repository for storing all web elements. It is useful in reducing code duplication and improves test case maintenance.

Verwin Rao Thulasi
Answered on: 28/8/2020