Does anyone know how I could get selenium to run an IE session utilising the "Run as different user" function using JAVA? I have no idea how I'd even go about setting this and google isn't bringing up anything so maybe I'm searching for the wrong thing somewhere?
To expand a bit on why I need to do this, the website I'm testing is an internal platform and uses a users login credentials/windows account details to determine their role, what links they have, data they can view etc.
Currently the only way I can run a test as a specific user (manager, data administrator etc) is to log into the machine as that user before running the test. This isn't really possible when I have multiple user accounts to test and am running Webdriver with GRID2 (so I have a bank of machines picking up tests from a queue as they come up).
When running tests manually I can simply right click and select the "run as different user" option on the ie shortcut, so figured if I could find a way to replicating this when running it via webdriver this would solve my problem.
Thanks for any suggestions or assistance.