All About Objects in UFT (QTP)

Download the Free Guide on How to Resolve UFT object identification issues.

Download the Free eGuide

11 Comments

  1. Awesome video!

    Reply
  2. I have some questions on this video.

    1. In this video I learned that there are 2 types of ordinal identifiers a. Index b. Location. However I read somewhere that there is another ordinal identifier present in QTP/UFT i.e. Creation Time (I believe that this might be for web based applications, However while explaining they have selected the Web environment. ) Please correct me if I am wrong.
    2. Can we assign the ordinal identifier’s value from QTP/UFT itself to an particular object. Because at the end of this video they explained in that way. As I know we are not authorized to assign the value to any Ordinal identifier’s prperty as QTP/UFT assigns the value based on the appearance of the object on the front end or the location of the object at the back end side. Please correct me if i am wrong.

    Reply
  3. While adding objects using Add/Remove button under Object Identification window we are getting same properties for Mandatory as well as Assistive property section. Does that mean we can mark any property as Mandatory from the list and any property as assistive. If YES then what is the difference between mandatory and assistive properties. And if NO then why there are same properties in both the list.

    Reply
  4. hi ankur,

    Can i get any complete pdf material for UFT.

    Reply
  5. I’m very much fresher on software testing or QTP/UFT software program but i’m trying to learn these desperately. Sake of my early beginning stage your online base tutorial lesson get me so benefited. I’m so lucky that i can reach u, cause at present i can’t effort to go through any courses. But in future i hopefully en role with your course of software testing. So many thanks.

    Reply
  6. Hi,
    Suppose we have a scenario like,we have multiple number of edit boxes with similar properties and values & we used ordinal identifier.But with the next build or next release the edit boxes been randomized.( i.e. the edit box whose index value was 1 that has been changed to 6). In that case what exactly we need to do.
    And what is visual Relation Identifier.
    How it can be used,and where it can be used.

    Reply
    • @Acharya: Good question.
      If you are unable to find a unique property for individual edit boxes, in such a case you can take help of Visual Relation Identifier (VRI).

      VRI is a set of definitions that enable you to identify the object in the application according to the relative location of its neighboring objects.
      As per your example; say you have this structure.

      Build 1:
      Name:
      LastName:
      Email:
      Address:
      City:

      In the next build, the developer changed the position of Email element and removed Address filed altogether.
      Build 2:
      Name:
      LastName:
      City:
      Email:

      In this case, using VRI, you can identify each of the object by their corresponding label names found on the left side.

      This is a hypothetical example, different apps may have different approaches. Download the eBook above which will help you with various object identification issues, typically encountered in UFT.

      Reply
  7. How do you recommend testing mobile devices that are no charge ( open source)

    Dave

    Reply
    • @Dave: HPE has been investing a lot on that front. Since UFT 12.53, they support native as well as hybrid mobile apps.

      Among 3rd party commercial tools, Perfecto has been doing some good work.

      Among open source, I have heard a lot about Appium.

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *