← Quiz: Page Object Model: all 10 questions
Quiz: Page Object Model · Question 2 of 10
Where should assertions live in a POM framework?
Where should assertions live in a POM framework?
- A.In page classes
- B.In test classes
- C.In the driver factory
- D.In testng.xml
Answer & explanation
Correct answer: In test classes
Pages act and read values; tests decide what's correct.
Can you get the rest right without peeking?
Take the timed Quiz: Page Object Model quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →