advantages and disadvantages of page object model code example
Example: disadvantage of page object model
- "Takes more time in the beginning"
- To be able to automate test case, we have to
create a set of structures and create a logic.
- Initially it takes more time to
create POM Design Pattern.
- But in the long run, since we get re-usable
WebElements, methods, easy to maintain structure,
the Return on Investment is a lot bigger.