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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
If an application name is changing frequently i.e while 
recording it has name “Window1” and then while running 
its “Windows2” in this case how does QTP handle?
 Question Submitted By :: Siva
I also faced this Question!!     Rank Answer Posted By  
 
  Re: If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?
Answer
# 1
QTP handle this type situation using "Regular
expressions",like :"Windows.*"("*" indicates 0 to meny
no.s/characters ... in this case 1 2 3 4 5 ........)
 
Is This Answer Correct ?    1 Yes 0 No
Prasad
 
  Re: If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?
Answer
# 2
Yes..We can handle such situation using the regular 
expressions.Select "window1" in the script.Goto tools and 
open the object repository.Select Window1 in the tree that 
gets displayed.In the configure value click the constant 
value option button and change the value from "window1" 
to "window.*" and click the Regular expression 
checkbox.click OK.
 
Is This Answer Correct ?    1 Yes 0 No
Jaya
 
 
 
  Re: If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?
Answer
# 3
the same thing can be handled using smart 
identification..in base filter properties list select some 
of the unique properties for the window except the text 
property which is changing dynamically..and u can use 
GETROPROPERTY and SETTOPROPERTY for the same
 
Is This Answer Correct ?    1 Yes 1 No
Aparna
 
  Re: If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle?
Answer
# 4
Best one is regular expression.Regular expression can 
easily identifies the objects with dynamic values during 
run-time.
 1. Go to Object Repository.
 2. Select the particular object in the left side and 
double click on the property value("Name of the window")
 3.Click on regular Expression check box and set as 'window
[0-9]*
 
Is This Answer Correct ?    1 Yes 0 No
Siva
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
why the smart identification is not there in WinRunner DigiTech1
anyone can explain Diff B/w Actions and Functions  2
What is difference between WR and QTP?  2
I have test cases in excel sheet but i am using quality center.How can i copy the testcases from excel sheet to quality center?explain this process. TCS2
what is main difference between QTP 8.2 AND QTP 9.0/9.2 HOME PAGE?i mean what are extra thing in QTP 9.0 than in QTP 8.2? Infosys1
When there is descriptive programming, why do we go for Object repository for desigining scripts.?? why cant we use descriptive programming instead of using the Object repository..?? DST-Global-Solutions2
What is throw object?  1
Synchronozation types in QTP Diebold10
Explain script generated at the time of setting runtime property?  1
How to give Table check points? ssinformatics4
What are the advantages of QTP over WinRunner? CTS4
Among all the check points what is the most important checkpoint?  1
How to load a object repository(using VBScript) ... very urgent....  4
What is XML checkpoint in QTP. How we can use in Web Based application LinkEdge2
I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can give script for this scenario? AZTEC4
What is the difference between Call to Action and Copy Action.?  2
how you test broken link using the automated tool QTP ? Oracle3
Can we do qtp testing without creating objects in Dbject repository? can we do it completely writing code i.e in expert view only. Are there any books for this? Accenture7
How do you test siebel application using qtp?  1
how to capture data from images in QTP and produce them in excel sheet?  2
 
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