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 Step generator in qtp? wt is the use? can u any body explain me? plz
If QTP not recognizing using repository while executing, how can we go forward
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
How can you quit from Action.
I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it
How to add a runtime parameter to a data sheet?
Where you can store check point results?
OR is full with objects but i want to add 5 more objects,but i tried merging files,shared mode and descriptive ,iwont work.is there any alternative for that
suppose the given string str = {"vamsikrishna%%&%*&**"} count the no of vowels and special characters are repeated
If some requirements r changed during the testing process ,then how can u handle this in frame work?
Suppose one object is changed in a project after delivering the project.Where we will update that object? it can be present in many scripts so can we update all the scripts?
If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...