2 type of user when login

Hi,

I have scenario where 2 type of user login service provider and customer so when login with service provider then it redirect to their service provider dashboard page but when login with customer id it will redirect to site page url where user will logged in with their customer id . Please help how can I execute the code?

Create 1 test case where both user logs in.

For the first one, pre-make a user without an ID log in, once the log in is finished, close the browser, and open a new browser. Navigate to the URL, and then for the second one, make a user with an ID, log in.

andrew said:

Create 1 test case where both user logs in.

For the first one, pre-make a user without an ID log in, once the log in is finished, close the browser, and open a new browser. Navigate to the URL, and then for the second one, make a user with an ID, log in.

Would you wants to make me two different scenarios for their different login in same test cases?

Which ever you prefer, One test case is more efficient.