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



suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / baba fakruddin

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

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

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

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

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

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / srinivas374

we can use Regular expressions concept. in qtp.

Is This Answer Correct ?    0 Yes 0 No

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / kishore

QTp will ideentifie By using index property which will be
uniqe

Is This Answer Correct ?    1 Yes 1 No

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / nanda

Hi shushil,

I think we give Index number in 9.0. please check it
once. and correct if i am wrong.

Is This Answer Correct ?    0 Yes 0 No

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / ravikumar

yes we can give indexnumber......

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

when to start the automation?

2 Answers   Accenture,


Can we Script any test case with out having Object repository? or Using Object Repository is a must

3 Answers   Crea,


from what stage you will start automation in your project

5 Answers   TCS,


Is there any MS Access addin in QTP?

7 Answers  


What is regular expression?

0 Answers  






what is the difference between modular framework & datadriven framework

0 Answers   SDS,


how do we add a new sheet to data table in QTP?

7 Answers   TCS, Wipro,


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

3 Answers  


How to export QTP results to an .xls file?

10 Answers   IBM,


What is the synchronization point in qtp?

0 Answers  


suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

0 Answers  


How many types of recording facility are available in QTP?

1 Answers  


Categories