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

Why use Regular Expressions?

1 Answers  


What is the use of an object spy tool in qtp?

0 Answers  


How to use Environment parameterization? Explain with an example.

0 Answers  


Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.

0 Answers  


How many check points are there in QTP and what are they?

5 Answers  






from where we will retrieve data for data driven tests in qtp?

3 Answers  


Describe the process for writing text check point for a web application?

2 Answers   ssinformatics,


What is the use of "Step Generator" in QTP??for what purpose we are using??explain with an example

2 Answers  


How to write script to display a message box having the "Date" value of the fourth mail(yahoo account). I've tried it with the web table concept but the content doesn't get displayed? Please help me out to resolve this :-)

2 Answers  


How function returns a value?

1 Answers  


What is the difference between Call to Action and Copy Action?

2 Answers   Satyam,


the question was on what techonlogy u been working on i said VB then he asked me the addin for VB in Qtp?

4 Answers   BirlaSoft,


Categories