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

Does QTP record on Objects created on XWindows Environment?

0 Answers   Infotech,


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1 Answers  


What is the scripting language used in QTP?

11 Answers   IBM,


How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?

0 Answers  


How does QTP identifes the object in the application?

1 Answers  






how to handle the textboxes where in it should take the sum like ex:: while posting a question in this site it will for what is the result of 6+3=__ where in we have to enter manually 9 and click on submit... but how to handle these cases in qtp.. can someone plz help me out wid dis...

1 Answers  


write a script for get the following result: username password frm the string1="A=username" string2="B=password"

3 Answers   Oracle,


can we run the scripts of QTP8.2 in QTP7.0?

1 Answers  


How u connect bugzilla with QTP

1 Answers   Deloitte, TCS, Wipro,


Test cases for Traffic Signals

4 Answers   AppLabs,


What do you to script when objects are removed from application?

0 Answers  


Explain about the test fusion report of quicktest professional?

0 Answers  


Categories