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

Open 0 Answers 31 Views
How can I implement a Page Object Method that can return two different page object based on the user role?
1Comments
commented Oct 24, 2016 by stbadmin (4,970 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.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...