How can i use Ordinal identifiers and Smart identification
methods
suppose i want to know the index no of check box
Answer Posted / siddu
Using smart identification QTP compares the object
properties at the recording or creating time to the current
test object properties (the properties of objects in the
object repository) using base filter and optional filter
properties. If any one property is matched then it
identifies the object uniquely.
Using ordinal identifies QTP identifies the object by giving
the values 0,1,2 ........ using INDEX, LOCATION, CREATION TIME
INDEX: The object which comes first when we are using tab
has value 0, the second one 1, and third one 2
LOCATION: The object which is nearer to x-axis have value 0,
the second one 1, and third one 2
CREATION TIME: For browser we are using this one. The first
created browers has value 0, the second one 1, the third one 3.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
how to idetfy which test cases are automated?who will deside that plz tell me
If the objects hierarchy is changing from build to build, then how you will handle that condition?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
Describe the differences between functions and actions in UFT?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
What are the check points can be inserted without recording?
Have you used xml check point in your project? How?
How to carry out bit map check points in QTP
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
How to get popup error message.
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
Is virtual object supported in low level recording mode?
what is defenetion of kiran can u tell me plz CVS, SVN
what could go wrong with test automation?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.