why do we use both location and index identifier.
Answers were Sorted based on User's Feedback
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 |
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 |
What is the use of breakpoint in qtp?
What kind of errors can b handled in QTP in real time scenario?
How to retrieve the object properties at runtime without the usage of GetROProperty?
What is a Dictionary object in QTP.?
Check point what is how many types of checkpoint and explain
Get the count of files of similar types from a folder.
Function to convert lowercase to uppercase in QTP Pls anybody can give the answer.. Thanks in advance...
How many types of actions are there in quicktest professional?
What is time parameter?
difference between GetROProperty and GetTOProperty
I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....
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.