Shelendra K. answered 08/09/19
Online Trainer for Software development and Software Testing .
Hi ,
POM is a design pattern which keeps test cases separate from test elements.
In simple words , inside your test package you have to create 2 classes for each page.
one is Page class which will contain all the elements and methods to perform operation on those elements.
second class will contain test cases with respect to that page. In test class you have to create object of page class and call the methods to prepare test case.