Welcome to the Question and Answer site for Software Testing Professionals

You can get your queries resolved from Software Testing Professionals.

Ask a Question

Get answers and give answers to questions from other members.

View All Questions

Get votes and earn points to build your reputation in community.

View Hot Questions

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 (192 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

We have resolved 1.2k+ Software Testing queries!

Software Testing Board Weekly update

We will send you handpicked questions that you would love to answer.

View previous campaigns.

Top Contributors

...