Is it possible to run more than one QTP instance on one machine? Earlier when someone would ask this question, my answer was straight NO. Recently I got hold of this post on Lifehacker, a popular productivity blog. The post mentions two cool tools – Altiris SVS and Sandboxie – for virtualization.
I thought, if it can be used to run two Firefox profiles and to test new softwares in isolation with the PC environment, why can’t it be used to run multiple QTP instances?
Exercise For You: This time I am not going to try rather would request you to do so. Go through Sandboxie thoroughly. Download it. Install QTP instances and then please let me know through the comments below whether it is indeed possible to run two instances of QTP on same machine.
Have you downloaded the FREE Optimizing QTP eBook yet? Get It Now!
If you want to keep track of further articles on QTP. I recommend you to subscribe via RSS feed. You can also subscribe by Email and have new QTP articles sent directly to your inbox.




15 comments ↓
hi ankur,
nice post…….i got open 2 instances the qtp opened thru sandbox is marked with # and the seocond instance is the local qtp application. let me know ur comments
thnx
madhukar
@maddy: Did you try to record some application on both the instances?
Also did that make your system sluggish?
Would appreciate more details from you.
Thanks!
Hi
It is very nice articale but Can anyone esplain me how to use sanboxie after installing.
The instance of the QTP is opening through sandboxie. but it is not recording any application.when i recorded through original FR application recording.but through instance(#) it is not recording
Help me if you have soultion
@nagraj : I faced the same problem.Trying for a workaround.
I wrote about this here.
Yes, it makes your machine sluggish if you have more instances of QTP running than you have processor cores. I have some machines with quad-core processors that each continuously run 4 instances of QTP to execute our test suite faster.
As far as issues people have recording from a sandboxed instance of QTP, that is one of the main features of sandboxie. QTP can only see other programs which are in the same sandbox.
Thanks Will.
>>QTP can only see other programs which are in the same sandbox.
I guess this should help people who are trying to figure out how to run apps on sandboxie.
Hi Ankur Sorry for using this Blog to ask a Question.
when i use Exit Test\ExitTestIteration inside a function (which is saved in Libray file not in a Test)qtp is unable to exit the Test Run.
Is there any workaround pls let me know
hi Ankur,
I had installed sandboxie, but when i tried to execute the recorded script throurgh QTP opened in sandboxie,its throwing following error “Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience.”
please let me the solution.
More information about virtualisation: SVS is a nice tool with some small problems. If you would like to get more posibilities. (think of QTP trough Citrix) you should get DVS. For personal use SVS is free.
SVS can be downloaded trough http://www.svsdownloads.com
more information about dvs can be found at the next link:
http://www.symantec.com/community/headsup/3134/dvs4sbc-now-available-30-day-demo-version
DVS rocks i use it on my bussines and private laptops and PC
Kind regards,
Eric Koops
Netherlands
Greetings! I use QTP 9.5 with a Flex 3 application. We have enough issues with QTP intermittently not recognizing Flex objects, even though these objects are unchanged from when they first entered the OR. So, my fear is introducing new issues if I try to run QTP in and out of Sandboxie (with our Flex/PHP app). Anyone have success with Sandboxie, QTP and Flex? Thanks! Steve
Not sure ..But in my Virtualization and QTP are not linked directly…Using virtualization we are converting one physical system into multiple virtual system and for all practical purposes these are separate systems.
So, when we say we r using virtualization for and running QTP in one physical system.. thats itself is wrong from my perspective.
Virtualization is used for optimized usage of heavy servers.
Hi Ankur,
suppose i generate a script in qtp and it run successfully in my mechine but whenever i m trying to run diff meching it dosen’t run.Please can u clarify me what is the problem and the remedy.
I don’t know If I said it already but …I’m so glad I found this site…Keep up the good work I read a lot of blogs on a daily basis and for the most part, people lack substance but, I just wanted to make a quick comment to say GREAT blog. Thanks,
A definite great read..Tony Brown
@Santhosh
Try to open Sandboxe QTP first then open normal QTP, I hope this will solve your problem…kindly let me know.
Leave a Comment