title: how to impersonate a windows domain user for automated web testing?
body: <p>we are about to build several UI test with selenium-rc and the java client</p>
  
  <p>the app itself is a classic asp web application that uses integrated security to retrieve the user's permissions from a database, and then, according to those permissions, displays a menu with the appropiate options.</p>
  
  <p>we'd like to automate that test, something like</p>
  
  <p>if the logged user is domain/user_test then optionx shoulb be enabled
  ...</p>
  
  <p>is there some way to programatically impersonate a domain account, so that selenimum-rc, at the server, could "run" the browser with a specified user?</p>
  
  <p>or should I hack a way around so as to pass the user to the app by (for example) the querystring?</p>
  
  <p>how do you handle these kind of tests?</p>
  
  <p>thanks a lot...</p>