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 recognize and read data from pdf file using Descriptive Programming in QTP?
i have qtp 9.4 ver software.but i don't know the license key. if anyone have license key please send it to my personal mail id(munir.reddy@yahoo.com
Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practical example of it. Thanks, Gaytri
How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.
What is test harness?
In my QTP script I have a word in notepad that ends in a question mark, for example... "father?" As part of my script I want to delete the question mark. How do you delete a character in notepad?
What is the script for database check point, bitmapchek point, regular expression ?
Shall we add Local Repository to shared object repository,if yes,how we add
How to make arguments optional in a function?
when we right click on the desktop of any operating system we find a menu , consisting of refresh,edit,open,paste and cut etc... how to load the object and object properties of that menu in QTP
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
For ex we are doing automate testing in that can we do some part of application recording, some part descriptive programing and some part general VB scripting like that .............