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 |
how to click on object? (with out knowing the object details) for ex: in a webpage one link is available.i want to click that link by using one menthod through qtp?
what is keyword driven testing
what is aregular expression?
explian qtp frame work and what is the use of it? what is the neceecity of this? explian detail?
If an application name is changes frequently i.e while recording it has name "Window1" and then while running its "Windows2" in this case how does QTP handles?
In Remote acess server how u run a test?
Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?
how to invoke the web application through script in qtp
what is smart identification?
Can we install QTP on remote server and access it as a web application on other system (client place)? If so please let me know. Thanks in advance, Ravi
1.How to find in which row or column,string "Hyderabad" exist in excel sheet? 2.How to find how many times character "a" repeated in a given string "Koteswararao"
Write the regular expression code, it accepts the alpha, numeric and special symbol and the first character should be the Alphabet. Tell me the answer