Sunday 28 July 2013

Web Object Recognition issue by QTP

Web Object Recognition issue by QTP:

This scenario happens if you are using Windows Vista/Windows 7 and IE8 or above browser. 

Here are the few steps which you can follow in order to fix this issue: 

1. Right Click and run QTP as an Administrator and then try recording or recognizing objects.

2. Open QTP, go to Record and Run Settings and navigate to the Web tab and change the settings from a specific browser settings to ‘Record on any open browser’ setting and then try recording or recognizing 
objects. 

Reason for not working: 

a. QTP needs Admin level privileges to some of its files/registry options to perform its functionality. 

b. Windows 7 has bought in levels of security, your User ID on your test PC might NOT have had all the admin level privileges. 

c. To do one time setting by right clicking on QTP desktop short-cut and select Properties. Navigate to Compatibility Tab and check the option Run as Administrator. 

3. Try the below settings:

a. IE: Select the “Enable 3rd party extensions” option under Tools –> Advanced section in IE

b. Open Control Panel, choose User Accounts and Family Safety >> System and Security Settings>>Change User Account Control settings>>Set the control to ‘Never notify’ and restart the computer. 
                                         
4. Start-> All Programs -> Quick Test Professional -> Tools -> Run "Register New Browser Control" in that gives the IE8 exe location to register the browser.

5. Solution to the problem was turning the setting “Enable Protected Mode” off in Internet Explorer.  To do this perform the following steps:
Mode” off in Internet Explorer.  To do this perform the following steps:
1.            Open Internet Explorer
2.            Select “Tools > Internet Options”
3.            Click the Security tab
4.            Make sure “Enable Protected Mode” is unchecked so that it is off(as shown below).
5.            And at last don’t forget to restart your IE. 

7. Check the QTP Permissions, give full permission to all the user if the special permission is checked.

No comments:

Post a Comment