Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6783287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:50:44+00:00 2026-05-26T16:50:44+00:00

I would like to get information about a web-element. This web-element is always present

  • 0

I would like to get information about a web-element. This web-element is always present on the page. But QTP can’t recognize, because there is a lot of web-elements with the same class. By default QTP used to recognize this web-element by it’s InnerText property, but in the last build InnerText became changing dynamically. And number of the web-elements of the required class is changing from build to build.
Do you know, how could I help QTP recognize this object? I’ve tried to add x and y absolute and relative coordinates, but it didn’t work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T16:50:45+00:00Added an answer on May 26, 2026 at 4:50 pm

    Identifying elements by location is very brittle and should be avoided when possible.

    Your question does not contain enough information in order to give a specific answer but here is how one achieves objects identification in the general case:

    You have to find a combination of properties that make the description unique and robust. If this is hard to do you can use the following advanced object identification techniques.

    1. By default QTP has all web elements nested directly under the Page or Frame, but you can nest an object under any other web element. If your element is contained within another element which you can identify drag and drop it in the object repository under said container and then the description only has to be unique in regards to the container’s other descendant elements
    2. Assuming you’re using QTP 11 (or later) you can use visual relations identification. This can be very helpful in identifying objects (see documentation for more information).
    3. If all else fails you can use an ordinal identifier, if 3 elements match the description and the element you’re looking for is always the second you can add this information in the ordinal identifier section of the object repository.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What kinds of information can PHP get about users? I would like to make
I would like to get some information on list of points that needs to
I have a number of links which I would like to get some information
I would like to get up-to-date information on Google's index of a website, and
I would like to get the absolute position of an element in relation to
I would like to get a list of the wireless networks available. Ideally this
I would like to get some of your ideas about resource name / categorizing
I have a Youtube like web-page where users upload&watch videos. I would like to
I'm developing a Web browser and I need to get information about the process
Would like to get a list of advantages and disadvantages of using Stored Procedures.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.