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
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 |
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 |
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 |
Answer / tvsramakrishnachowdary
this can be solved by Ordinal Identifiers Concept in QTP
| Is This Answer Correct ? | 1 Yes | 0 No |
What are "Ordinal Identifiers" and where it is used in QTP. AS FAR AS i KNOW, its is used to identify the object. but i want clarity regarding this.
We have 10 rows of records in data table, but we have to run 4th, 5th and 6th rows only. How can we handle this scenario in QTP?
5 Answers Accenture, Banca Sella, Polaris,
After Creation of your QTp frame work, The folders are saved in VSS or Other. plz explain brifly?
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
if anyone has idea of the interview procedure in covansys, plz send me a mail?
If requirments changed then how we can teach the QTP this is the new requirment
i am unable to select an item from combobox using Descriptive programming. can any one give me code for scheduling the ticket using Descriptive programming.
How to get line numbers in your editor in expert view?
Write the vb script for the lowest and highest values of an array?
What is action required by QTP if a popup message is coming in exsisting script and now it is not coming. The script is having code to deal with popup message now when we run the script now the popup i snot coming according to new build, instead of changing the code what we can do?
How to customize checkpoints with parameters?
How to run a test using quicktest professional?