why do we use both location and index identifier.

Answers were Sorted based on User's Feedback



why do we use both location and index identifier...

Answer / jay prakash

There are 3 types of ordinal identifiers available in qtp.
They are:
1) Location : qtp will create sequence of numbers from 0,
1, 2, 3…. Based on the objects located on the application
or aut.

2) Index : qtp will create sequence of numbers from 0, 1,
2, 3…. Based on the code implemented or developed for the
objects.

3) Creation Time :qtp will create sequence of numbers from
0, 1, 2, 3…. Based on the loading time of the web pages

Is This Answer Correct ?    7 Yes 2 No

why do we use both location and index identifier...

Answer / prasad

If both the mandatory properties and assistive properties
are fails to identify uniquely, QTP uses ordinal property
(Index and location) to the description to recognize the
object uniquely.

Types of ordinal identifiers to identify an object are
i) Index
ii) Location
iii) Creation Time
an example of ordinal identifier:

Suppose there are 2 “Back” button link(i.e back to the
previous page)in a web page. Hence these two will be differ
from each other by their “Location”.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the use of breakpoint in qtp?

4 Answers   Zensar,


What kind of errors can b handled in QTP in real time scenario?

2 Answers   AZTEC,


How to retrieve the object properties at runtime without the usage of GetROProperty?

3 Answers   Cap Gemini,


What is a Dictionary object in QTP.?

1 Answers   Cap Gemini,


Check point what is how many types of checkpoint and explain

3 Answers   Accenture,






Get the count of files of similar types from a folder.

0 Answers   Deloitte,


Function to convert lowercase to uppercase in QTP Pls anybody can give the answer.. Thanks in advance...

2 Answers   Navis,


How many types of actions are there in quicktest professional?

0 Answers  


What is time parameter?

1 Answers  


difference between GetROProperty and GetTOProperty

3 Answers   Wipro,


I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....

3 Answers   Wipro,


In a web page when we enter the city name corresponding zip code is coming in the required field.Can any one please write how to test using QTP,whether this code is coming from Database or not.

1 Answers  


Categories