Currently I have QTP setup to connect to QC automatically when opened. THis is normally fine however the QC Server has gone down. What I'm finding is when lauching QTP it get stuck on the QC connect and won't timeout so I can open without the connection.
I've tried launching via VBS and it still trys to connect. Is there away to launch QTP without the QC connection. I have tried the standard code below
Set qtApp = CreateObject("QuickTest.Application")qtApp.Launch
qtApp.Visible = True
You can avoid QTP connecting QC every time. For that you need to Launch QTP and Click on QC Icon present in the Menu. Than Uncheck the option "Reconnect to Server on Startup". After this , make a clean exit of the QTP application. Now you rerun your VBS script. it will launch QTP without connecting to QC.
Modify the mic.ini file in this location C:\Program Files\HP\QuickTest Professional\bin.
Find the Section named [TestDirector_ActiveUser] and do the following changes.
TDUserName=USERNAME -> The logged in user name
LoginAutomatically=0 -> This will be 1 for autologon. Change it to 0
ReconnectToDB=0 -> Same as above. Change it to 0
ReconnectToServer=0 -> Same as above. Change it to 0