The application I am testing appears (hides and displays menu options) differently for the users with different Active Directory roles assigned to them.
So this is what I am trying to automate,
- Launch IE as a user 1 - let's call it browser 1 (can be manually done by shift + right click on IE and choose "Run as a different user" and supply the user name and password for user 1).
- Open the application in browser 1.
- Perform some operations in browser 1.
- Launch IE as user 2 - let's call it browser 2.
- Open the application again in browser 2.
- Verify what I should and should not be seeing in browser 2 as user 2.
I have done something similar for a windows application in the past using PSExec and Test.Stack.White.
I don't know if this is possible to do it in protractor. If it is can some one point me in the right direction ?
Thanks all for your time and help in advance!