Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

0
How can I implement a Page Object Method that can return two different page object based on the user role?

Closed 0 Answers 38 Views
0 0
How can I implement a Page Object Method that can return two different page object based on the user role?
1Comments
commented by (151 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.
closed with the note: irrelevant and unanswered
...