Print Page | Close Window

4 Tips to overcome QTP object identification probl

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: QuickTest Pro @ OneStopTesting
Forum Discription: QuickTest Pro is a fresh approach to automated software and application testing that addresses testing needs of both business analysts and Quality Assurance professionals.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=7283
Printed Date: 19Nov2024 at 3:41am


Topic: 4 Tips to overcome QTP object identification probl
Posted By: Mithi25
Subject: 4 Tips to overcome QTP object identification probl
Date Posted: 05Nov2009 at 12:44am
. 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.

-------------
http://www.quick2sms.com - Send Unlimited FREE SMS to Any Mobile Anywhere in INDIA,
Click Here



Print Page | Close Window