Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 1 dislike
246 views
by The go-to Tester (391 points)
retagged by
How can I implement a Page Object Method that can return two different page object based on the user role?
closed with the note: irrelevant and unanswered
by The go-to Tester (181 points)
Usually when you use any famous CMS or customized CMS to manage your user, there are no concept of generating a different page or element for different user role. So if you can give me an other scenario, we can think of it.

So implementing interface just because you have page changed for different user role does not really make sense.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...