ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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?
 Question Submitted By :: Gardekp
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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?
Answer
# 1
You can get the result by 'Insert -> Output Value -> Text 
Output Value' when you recording.
 
Is This Answer Correct ?    0 Yes 0 No
Toly
 
  Re: 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?
Answer
# 2
we can use Regular expressions concept. in qtp.
 
Is This Answer Correct ?    0 Yes 0 No
Srinivas374
[Noble Technologies]
 
 
 
  Re: 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?
Answer
# 3
QTp will ideentifie By using index property which will be 
uniqe
 
Is This Answer Correct ?    1 Yes 1 No
Kishore
 
  Re: 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?
Answer
# 4
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 ?    2 Yes 0 No
Sushil
 
  Re: 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?
Answer
# 5
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
Nanda
 
  Re: 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?
Answer
# 6
yes we can give indexnumber......
 
Is This Answer Correct ?    0 Yes 0 No
Ravikumar
 
  Re: 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?
Answer
# 7
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 ?    1 Yes 0 No
Baba Fakruddin
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How can you find Local Host Name by Using QTP?  4
What is the difference between Datadriven and Parameterization? Ordain-Solutions8
What is a Run-Time Data Table? Where can I find and view this table?  3
What is the extension of script and object repositary files?  2
What is smart identification? AZTEC2
What do you do if QTP doesn't recognize object ,what action should be taken Lehman-Brothers9
1. Can anyone help me with recovery scenarios, each type with examples and also what is on error resume next?  1
where exactly we can't do the automation testing. give some examples Wipro2
how to invoke the web application through script in qtp IBM10
what is the difference between call to copy action and call to an existing action  5
how open two urls in one browser? plz urgent Satyam5
The interviewer asked me when u recorded one application.object repository properties are saved with .tsr extention. in qtp expert view wherever mouse is there that snapshot displayed in active screen but some recored script lines are not displyed in actives screen y? IBM3
why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all.. Cap-Gemini2
I have to automate webpage. If I click one hyperlink2 it will take 2 hrs to open. How to automate hyperlink2? Polaris3
What is data driven testing in QTP? Agile-Software6
What is the Risk Analysis? Waht types of risk analysis are there?  1
Could any one suggest web site links to learning VB Script for QTP purpose??  2
can u write one user defined function for webedit class. Cap-Gemini4
In one of the scripts the pwd in the DT was encripted. Can any one tell me how to I decript or undo the same? BirlaSoft2
explian about the qtp frame work? where u can use it in your project?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com