How to set Internet Explorer as the default browser in Windows XP SP1 and above for QTP

It has been seen that if there are more than one browser in a machine and unknowingly if a  different browser is made default than Internet Explorer then when executing a script in QTP which requires to open an application in a browser it would become difficult if you use QTP versions less than version 10.

There is a way to set the Internet Explorer as default browser. Following are the ways to set the browser.

1. This can be done by using the Set Program Access and Defaults feature in windows to set the default browser. To set Internet Explorer as the default which also repairs the file association settings try the following method:

From the Control Panel click on Add/Remove Programs then choose the Set Program Access and Defaults button. Click the Custom button once. From the list that appears, select Internet Explorer and then click the OK button.

2. Another way is to directly click Start and Run. In the Run window type control appwiz.cpl,,3
The Add or Remove Program window will open.  Click the Custom button once. From the list that appears, select Internet Explorer and then click the OK button.


2 comments:

yashwant said...

Thanks for nice answer.Keep posting.It helped because 1st 2 options are not working in my system. 3rd option worked.

Kanikaram Kiranpaul said...

@ Yashwant, Good to hear that the 3rd option worked. Just keep trying different options. Also you can look at the QTP tutorials provided in the QTP software.

Post a Comment

/* Tynt Insight tracker ----------------------------------------------- */