why do we use both location and index identifier.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

1524


what is run-time data?

1699


What are the types of properties that quick test learns while recording?

540


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

1518


How is test case write?

576






Why script error occur in between recording in qtp?

1768


hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)

1404


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

1379


Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

4144


Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints

1462


after click on compose mail how can we attached a file in qtp with vbscript code

1616


What is a data driven test in qtp?

589


What is meant by Output Value in UFT?

567


suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1489


What is keyword view in qtp?

554