QuickTest Professional™ - An Automation Tool by Mercury - Questions and Answers

Monday, June 19, 2006

QTP Question 14: How does QTP identifies the object in the application?

How does QTP identifies the object in the application?
QTP identifies the object in the application by LogicalName and Class.
For example:
The Edit box is identified by
  • Logical Name : PSOPTIONS_BSE_TIME20

  • Class: WebEdit


  • With an Oracle system, where the front end is not written in standard widows, is there an example of how does QTP object mapping address this? The example in mind is a Text field for User ID. QTP when recording, recognizes the properties as : Win Object, reqexpwndclass, Ordinal - Type, Value and Enable smart Identification set to FALSE. The run error during Run, is "Can not Identify the object_____ (of class WinObject) verify that is objects's properties match an object currently displayed in your application. I did not find much help so far in the Object SPY or Object Repository on this!

    By Blogger Bob, at 12:25 PM  

  • Using object repository.

    By Blogger vishnu, at 5:05 AM  

  • Hi,
    Very simple mechanism behind recording and playback
    Recording Mechanism :
    AUT > Physical description >Logical Name > Scipt

    Explaination :When you are performing operation on AUT QTP will identify the physical properties of object ,it assigns one logical name to it and same logical name gets reflect into script. This Physical description and Logical Name is stored into Object repository.

    Play back mechnism:
    Script > Logical Name > Physical Properties > AUT.

    By Blogger saritha, at 3:35 AM  

Post a Comment

<< Home

Index of QTP Questions

  • QTP Question 01: What is QTPro? What is Quick Test Pro? What is Quick Test Professional?
  • QTP Question 02: What's New in QuickTest Professional 8.2?
  • QTP Question 03: Explain QTP Testing process?
  • QTP Question 04: How Does Run time data (Parameterization) is handled in QTP?
  • QTP Question 05: What is keyword view and Expert view in QTP?
  • QTP Question 06: Explain about the Test Fusion Report of QTP?
  • QTP Question 07: To which environments does QTP supports?
  • QTP Question 08: What is QTP or Quick Test Pro?
  • QTP Question 09: Explain the QTP Tool interface
  • QTP Question 10: How QTP recognizes Objects in AUT?
  • QTP Question 11: What are the types of Object Repositorys in QTP?
  • QTP Question 12: Explain the check points in QTP?
  • QTP Question 13: In how many ways we can add check points to an application using QTP?
  • QTP Question 14: How does QTP identifies the object in the application?
  • QTP Question 15: If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?