How to disable auto-start of test web app in IE within a QTP Test?
Question ID: 104409
2
0

I copied a test over that had user defined Environment test properties (File – Test Settings – Environment). I removed these settings to create a new test for a different purpose.

Somehow this test still starts a new session of my test web app. I’m debugging a function and while doing so, my test is opening a new IE Browser session while I have my target page opened on a different session. This is interfering with object recognition even though I close the extra IE browser session.

How can I disable the auto-start of a web app within a test?

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on November 15, 2011 2:18 pm
22 views
Answers (1)
1
Private answer

Have you tired Automation > Record and Run Setting... > Web (tab) and change the option to ''Record and run test on any browser''?

Another option is to edit the registry by starting regedit and changed the _Default string in the following location?
HKEY_CURRENT_USERSoftwareMercury InteractiveQuickTest ProfessionalMicTestAddIn ManagerWebStartup SettingsURL

To clear history change the registry for _Default string in the following locations.
HKEY_CURRENT_USERSoftwareMercury InteractiveQuickTest ProfessionalMicTestAddIn ManagerWebStartup SettingsURLHistory
HKEY_CURRENT_USERSoftwareMercury InteractiveQuickTest ProfessionalMicTestAddIn ManagerWebStartup SettingsURLHistory1
HKEY_CURRENT_USERSoftwareMercury InteractiveQuickTest ProfessionalMicTestAddIn ManagerWebStartup SettingsURLHistory2
HKEY_CURRENT_USERSoftwareMercury InteractiveQuickTest ProfessionalMicTestAddIn ManagerWebStartup SettingsURLHistory3
HKEY_CURRENT_USERSoftwareMercury InteractiveQuickTest ProfessionalMicTestAddIn ManagerWebStartup SettingsURLHistory4
**NOTE_ use caution when editing registry**

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on November 29, 2011 3:05 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top