In project module it contains 3-ok buttons with same
properties who qtp identify its objects while runing ??

Answers were Sorted based on User's Feedback



In project module it contains 3-ok buttons with same properties who qtp identify its objects while ..

Answer / uday kumar_anem

QTP uses unique properties to distinguish the object from
other objects. If all these three buttons have same
properties then it go for Ordinal Identifiers. These
ordinal identifiers are 1. Index, 2. Creation Time, 3.
Location.
1. Location: There is no way that all these 3 buttons
placed at the same location.
2. QTP adds index to each of the objects i.e it creates
object description as ok_1, ok_2, ok_3
3. No two objects cannot be created at same time(Web add-in
only)

Is This Answer Correct ?    9 Yes 0 No

In project module it contains 3-ok buttons with same properties who qtp identify its objects while ..

Answer / srinivasu

In qtp we can identify the object with the help of
following :-

Whenever we record a script using QTP - QTP identifies an
object uniquely using the following mechanisum.

[i] First captured the mandiatory properties
Object/Window [Class name, Label name etc...

If the manditory properties is not unique

[ii] Assistive properties [X,Y,Width,Hight,Abslute of X...]

If Manditory/Assistive properties are not unique then
it goes to ordinal Identify which is either location
or Index

Note: If the Object is identified using location/index
and if an object location is changed or index is changed...
the script will fail.

Is This Answer Correct ?    3 Yes 1 No

In project module it contains 3-ok buttons with same properties who qtp identify its objects while ..

Answer / chaitu.c

In qtp we can identify the object with the help of
following :-

1.Assive properties and Mandatory properties

2.Smart Identification ( Basefilter and Option filtr
properties)

3.Ordinal Identification(through the Index and Location of
Object in the project module screen)

Is This Answer Correct ?    2 Yes 1 No

In project module it contains 3-ok buttons with same properties who qtp identify its objects while ..

Answer / tvsramakrishnachowdary

this can be solved by Ordinal Identifiers Concept in QTP

Is This Answer Correct ?    1 Yes 0 No

In project module it contains 3-ok buttons with same properties who qtp identify its objects while ..

Answer / xyz

qtp identify useing regular expression

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More QTP Interview Questions

How to get line numbers in your editor in expert view?

2 Answers  


How do you know the location Id of an object if you know its index id?

0 Answers  


Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?

0 Answers  


During execution, how can we capture the data from the pop- up, ie. when any popup comes with some numbers written on it, then how can we capture the value/number that is coming on the pop-up and save in the dynamic file/or other file, even when the run is going on.

2 Answers   Wipro,


How can we use XML in QTP?

1 Answers  






1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

0 Answers  


Did you face the problem, changing the properties of an object in Run Time?

1 Answers  


In QTP if u got a defect , how to report to developer using Test director or Quality center .

5 Answers   Wipro,


How to parameterize in QTP?

4 Answers  


what could go wrong with test automation?

0 Answers  


-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?

3 Answers   CTS,


Name the different types of recording modes?

0 Answers  


Categories