Hello Folks,

In this post we are going to see a frequently asked Interview question in Selenium Webdriver which is below:

“Is Page Object Model a Selenium framework??”.

Answer is No.

I have heard many answer that people have used POM Framework. Actually it is not a framework.

POM is a design pattern which says how you can organise your automated test scripts in better ways. In POM, web pages are represented as classes, and the various elements on the page are defined as variables on the class. All possible user interactions can then be implemented as methods on the class.

You can refer my previous posts on Page Object Model.

Hope, now you can answer well in Interview if this question is asked to you.



Author: Amod Mahajan

My name is Amod Mahajan and I am an IT employee with 6+ years of experience in Software testing and staying in Bengaluru. My area of interest is Automation testing. I started from basics and went through so many selenium tutorials. Thanks to Mukesh Otwani as his tutorials are easy and cover basics to advance. I have habit of exploring concepts by deep diving. I used to make notes. I thought of sharing my knowledge through posts and now I am here. #KeepLearning #ShareLearning

5 thoughts on “Is Page Object Model a selenium framework?

  1. Hi Amol,
    Can we handle testNg assert through try catch block ;
    What happens in below case??

    int a = 12;
    int b =20;

    Assert.assertEquals(a, b);
    }catch(Throwable t)
    System.out.println(“Exception Occurred”);

Leave a Reply