1. Make sure the correct Add-in is loaded for the application under test. For example, if the procedure is to test the Java class, we must load the Java Add-in. Other commonly used Ad-ins for QTP are QuickTest Professional Oracle 6.5 Add-in, QuickTest Professiona Siebel 8.0 Add-in, and QuickTest Professional Terminal Emulator 8.0 Add-in. To get more details for each of the Add in please check the corresponding QTP_Install_Guide.pdf and Main_Users_Guide.pdf found.
2. Use QTP Virtual Objects feature for non recognized objects:
Using the Virtual Object Wizard, you can map a virtual object to a standard object class, specify the boundaries and the parent of the virtual object, and assign it a name. You can also group your virtual objects logically by assigning them to collections. Goto Tools -> Virtual Objects -> New Virtual Object, there will be Virtual Object Wizard dialog box to add some support to the custom/wrapper class control set to a virtual control and then add it to the object library But the virtual object is dependent on the coordinates so if the page is moved, it will not work.
3. Change the QTP’s own means of identification of a control from the tools – Object Identification. It lists all of the QTP controls, as well as the how QTP identify those controls. You can give it to add X, Y coordinates for recognition. This change can solve some of the problems.
4. The use of low-level recording or mouse recording. With the LowLevelRecording/AnlogRecording you can record the coordinate of the screen to achieve the result. But this is poor for maintenance.