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

I want to export the datasheet to excel.Instead of total file it exports only data without headers.How to solve this problem?

1 Answers   FAI,


Explain about reusable actions?

3 Answers   IBM,


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

0 Answers   L&T,


what is option explicit? what is the use of it?

9 Answers   Syntel,


What is difference between Quality centre and Test Director?

1 Answers   Nokia,


Hi, I am new to QTP and vb.script.How to start to write vb.script in QTP? Please give me suggestions?

3 Answers  


How to differentiate the webedit field like user name and password? Please tell any other best answer is ther

3 Answers   Navis,


example-date format is 01-jan-09 in QTP.How to convert this format to 01-01-09?

9 Answers   Tech Mahindra,


What is Active Screen in QTP?

11 Answers  


What is the Difference Between Quick Test Pro and Quick test professional?

5 Answers   Infotech,


what are the difference ways of parameterising?

1 Answers  


How to send QTP test results to an email...(with out using Quality Center)?

11 Answers  


Categories