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 |
How to load an object to a object repository at RUN TIME ?
after initiating one project for testing, when exacltly QTP tester role starts?
if my application shows 100 records and in my database having 200 records how i can validate using QTP tool?plz exp. in detail?
In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?
A webPage has a ComboBox with 10 values in it. Write a script to select 4 vales from it using CTRL key
How to match two doc files using qtp requirment is:- each and every single word of a doc file should be matched with the another doc file. can someone send me the code.
what is action in QTP?
Please explain me i am using QTP 9.5 ,i am creating re usable scripts,i have to pass data from one local sheet to another local sheet.for example i am creating emploee information, (data is in action 2 local sheet),In this data table emplyeee number will get,i have to pass employee number to another reusable script search data (action2 local data sheet)
what is automation(qtp)bug pls giv me one ex?
Explain synchronization types in QTP
How does QTP identifies the object in the application
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?