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?
5 Answers, 1 is accepted
0
Hi David,
I would like to suggest one approach for this automation challenge. Why not use our Scheduling engine for this:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/scheduling-test-runs.aspx
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.
Greetings,
Stoich
the Telerik team
I would like to suggest one approach for this automation challenge. Why not use our Scheduling engine for this:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/scheduling-test-runs.aspx
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.
Hope to hear from you soon.
Greetings,
Stoich
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Test Studio Trainings
0
Bennett
Top achievements
Rank 1
answered on 19 Feb 2014, 06:17 PM
Stoich,
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.
Thanks.
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.
Thanks.
0
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...
Regards,
Cody
Telerik
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...
Regards,
Cody
Telerik
0
dan
Top achievements
Rank 1
answered on 19 Jul 2016, 05:23 PM
Hi Stoich,
Aside from your suggested approach, is there a way to simply have Test Studio launch the browser as a different user?
Thanks,
dan
0
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!
Regards,
Elena Tsvetkova
Telerik by Progress
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!
Regards,
Elena Tsvetkova
Telerik by Progress