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 we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
i have 100 manual test cases, how to automate from no 1. ols detail steps
In a Web appl, on a page, there are student names & details listed.On clicking sort button,details are sorted on Names.How do u verify htat sorting is done by using QTP?
HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?
How to pass a variable in Dos Command using QTP? Eg: Dim path1, path2 path1 = "C:\Test\sample1.doc" path2 = "C:\Test\sample2.doc" How can we pass these path1 and path2 inside the "copy" dos command? I tried like this. this is not working. oShell.run "cmd /K copy" &path1 &path2
why we use sendkey method in qtp?
what are the qtp tester responsibilities?
In real time ,How to run all scripts in QTP? i,e in projects
What are the different properties of an web object
I want to create Excel object on another machine which is in network i written the code "Set se=createobject ("Excel.Application","\\ankur")"here \\ankur is the name of that machine but i m getting the error of permission denied create object can anybody help me
If you have given 1000 manual test scripts, what test you will do? and how?
what is Automation frame work and how do u used this for your project?