r/softwaretesting • u/bhujbal_nishant • Jun 25 '26
Which POM are we supposed to use in interviews ?
Hello guys, I have a live coding interview coming up for playwright where I have to create a small framework from scratch with some tests.
In my current org we use function based POM, but I’m confused should I also learn how to use class based POM.
What kind of POM style does interviewers expect?
Thanks.
1
Upvotes
2
u/ohlaph Jun 25 '26
I would expect you to understand both class based and method based page object models implementations, if you're using that pattern.
3
u/PatienceJust1927 Jun 25 '26
Seriously, creating the framework and writing tests. Are they interviewing you or are they just making you do the work for free?
15
u/Cup_of_blisfull_tea Jun 25 '26
What kind of questions is this
3
u/LightaxL Jun 25 '26
Just use the one you’re most familiar with. Would rather see confidence and capability rather than someone trying to make something work and risking not being able to if they hit a stumbling block
3
u/wontfixqa Jun 25 '26
I would expect a candidate to be able to explain both, state their preference and why.
But I agree with the others here - creating a small framework from scratch doesn't seem like a good way to interview someone.
2
u/sad-whale Jun 25 '26
Be able to explain why you chose the model you did. What type of project you'd consider using a different model
2
u/chr1ssb Jun 25 '26
Ask for context, until you know enough, then take your decision.
2
u/Tlmic Jun 26 '26
As someone who's interviewed many QA's, the important thing to me is that you can create a POM framework. And that you know what that is, and how to use git, and you're not afraid to fix a merge conflict or cherry pick. Bonus points if you can use Gherkin/Cucumber.
1
u/Altruistic_Rise_8242 Jun 28 '26
For interview do what majority does, POM with classes.
0
u/chronicideas Jun 25 '26
Sack off POM completely and do Screenplay pattern
8
u/[deleted] Jun 26 '26
[removed] — view removed comment