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 |
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
How to Save your test using QTP?
How do know the number of browsers opened?
How to integrate the qualitycenter with qtp
please tell me how to identify the index of the link in the web table .links are not constant.example i want to click the link in the inbox ,search the item and click the partcular mail.(mail links count is not constant)
Which method do you use to retrieve data from the WebList object?
what is the difference between DP and keyword driven framework?
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
Hi, My problem is as follows. I recorded a script that created Object repository of each action i recorded. But later I added one more step (which was to enter data in a textfield) into the script through expert view. But as no repository for this newly added step exists in the test, my script fails. So please help me to sort this problem that how can I create object repository of a new step in an existing test. Thanks everyone
How do u insert an object during runtime in qtp?
How to capture dynamic objects in qtp like mark up text
What are the views available in quicktest professional?