suppose u hav a 10 dialog or window opened on screen with
same name & value. now how to test each window? i.e. how
qtp indetifies these objects separately?
Answers were Sorted based on User's Feedback
Hello mr.Sushil, Understand question clearly. he said
windows or dialog boxes. not browser's and page's, for 10
browsers with same name we should go for ordinal Identifier
(Creation Time).
for windows we should go for Ordinal Identifier(Index).
With index qtp will identify window based on individual
developed code of window or dialog(which window/dialogbox
developed first).
if in same window or dialog we should go for location.
I hope I am correct.
Is This Answer Correct ? | 7 Yes | 1 No |
Answer / sushil
the only correct answer:
we will use ordinal identifier in such situation.
since it is browser so creation time will be used.
we can't use other ordinal identifier like index or location
so code for that.
browser(CreationTime:=1).Dialog( )...give as per your
requirment.
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / toly
You can get the result by 'Insert -> Output Value -> Text
Output Value' when you recording.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / srinivas374
we can use Regular expressions concept. in qtp.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kishore
QTp will ideentifie By using index property which will be
uniqe
Is This Answer Correct ? | 1 Yes | 1 No |
when to start the automation?
Can we Script any test case with out having Object repository? or Using Object Repository is a must
from what stage you will start automation in your project
Is there any MS Access addin in QTP?
What is regular expression?
what is the difference between modular framework & datadriven framework
how do we add a new sheet to data table in QTP?
for example one window is there, the window contains how many edit box's i want script? i know the script but that is not exact answer.... The script is like this .......... set a=description.creation() a("Native class")="WinEdit" b=window("Flight Reservation").childobject(a).count msgbox b
How to export QTP results to an .xls file?
What is the synchronization point in qtp?
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
How many types of recording facility are available in QTP?