Is there a way to get Test Studio to run a browser as a different user?

6 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Nov 2012

    Posted 30 Jan 2013 Link to this post

    I am trying to test a web application that uses windows auth and I need to be able to log in to the application as a different user. I can do this by shift+right clicking on IE and selecting "Run as different user" or by running IE from the command line (or a shortcut) using "runas /user:name" etc., but there does not seem to be a way to configure Test Studio to adjust how it runs each browser. Is there some way I can launch a browser (even just IE) as a different user with Test Studio?
  2. Stoich
    Stoich avatar
    1 posts

    Posted 04 Feb 2013 Link to this post

    Hi David,
    I would like to suggest one approach for this automation challenge. Why not use our Scheduling engine for this:

    You can setup VM's that login as different users and initiate tests runs on them simultaneously.  The results  would be fed back into your main instance of Test Studio and/or emailed to you.

    Please take a look at the Scheduling feature and what it can do. If you deem this is not what you're looking for I can suggest some different ways of implementing this setup.

    Hope to hear from you soon.

    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Bennett
    Bennett avatar
    10 posts
    Member since:
    Oct 2013

    Posted 19 Feb 2014 in reply to Stoich Link to this post


    If I currently only have one Test Studio license, is it safe to assume that I am unable to test as different users? It seems that multiple licenses are needed to use the Scheduling engine and/or run tests simultaneously.

    Any help would be greatly appreciated.

  4. Cody
    Cody avatar
    3354 posts

    Posted 24 Feb 2014 Link to this post

    Hi David,

    First, no it is not possible to launch the browser using your own custom command line (or tell Test Studio to connect to your manually launched browser). We have a feature request here already logged in our system to add this. It is not currently scheduled for implementation yet. You can vote for it which will raise the priority in our system.

    Second, yes you do need multiple licenses to take the scheduling server approach that Stoich suggested. However you do not need multiple licenses to full Test Studio. You only need one of those plus one or more license to our Runtime edition, which is much less expensive. You would install the Runtime edition on your remote VM's that will be executing your tests.

    The only other suggestion I can make would be for you to write some sort of framework wrapper that would launch Test Studio or our command line runner using alternate credentials i.e. a programmatic way of doing Run As...

    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
  5. dan
    dan avatar
    28 posts
    Member since:
    Jun 2016

    Posted 19 Jul 2016 in reply to Stoich Link to this post

    Hi Stoich,

    Aside from your suggested approach, is there a way to simply have Test Studio launch the browser as a different user?




  6. Elena
    Elena avatar
    1129 posts

    Posted 22 Jul 2016 Link to this post

    Hi Dan,

    Thank you for contacting us. Please be advised there is no way to run the browser under different user through Test Studio. Thank you for your understanding! 

    Elena Tsvetkova
    Telerik by Progress
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top