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   SiteMap shows list of All Categories in this site.
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
Pls let me know completely about descriptive programming, 
where it is used, pls explain with a real time example of 
its occurence and the program code written in qtp.
 Question Submitted By :: Sri
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Pls let me know completely about descriptive programming, where it is used, pls explain with a real time example of its occurence and the program code written in qtp.
Answer
# 1
Whenever QTP records any action on any object of an
application, it adds some description on how to recognize
that object to a repository of objects called object
repository. QTP cannot take action on an object until unless
its object description is in the Object Repository. But
descriptive programming provides a way to perform action on
objects which are not in Object repository


There are two ways in which descriptive programming can be used
1.	By creating properties collection object for the description.
2.	By giving the description in form of the string arguments.


  to know more about the descriptive programming please go
with fallowing link
http://bondofus.tripod.com/QTP/DP_in_QTP.doc 

Thanks and Regards
Subhan.k
 
Is This Answer Correct ?    0 Yes 0 No
Subhan.qa
 
  Re: Pls let me know completely about descriptive programming, where it is used, pls explain with a real time example of its occurence and the program code written in qtp.
Answer
# 2
The following are the points when to use DP
1.When you don?t have object repository in OR at all. 
			- Product under development

2.The objects in the application are dynamic in nature and 
need special handling to identify the object. 

3.When object repository is getting huge due to the no. of 
objects being added. 

4.Modification to a test case is needed but the Object 
repository for the same is Read only or in shared mode i.e. 
changes may affect other scripts as well. 

5.When you want to take action on similar type of object.
 
Is This Answer Correct ?    0 Yes 0 No
Ycy
 
 
 
  Re: Pls let me know completely about descriptive programming, where it is used, pls explain with a real time example of its occurence and the program code written in qtp.
Answer
# 3
Suppose we have a web application that has not been 
developed yet.Now QTP for recording the script and adding 
the objects to repository needs the application to be up, 
that would mean waiting for the application to be deployed 
before we can start of with making QTP scripts. But if we 
know the descriptions of the objects that will be created 
then we can still start off with the script writing for 
testing
 
Is This Answer Correct ?    0 Yes 0 No
Ravindra
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Can any one tell me Difference between Keyword Driven Frame work and Hybrid framework? Its Urgent. IBM1
In an output value text checkpoint, where does the output value stored by default ? Ordain-Solutions4
Why do you choose only QTP for your project automation among remaining tools like Rational robot and silk test? CTS1
Is there anyone can tell me where I can download free or trial QTP? I tried HP website, it was not there anymore. If someone know, pls send me URL. Tks...  1
how you have used object libraries? plzzzzz do answer  1
you written some code in qtp for opening google.com browser and entered some text inthe search text box and clicked search button. this is ur script.. before running this script i have already opened two google.com browsers. now am running the script what will happen? script will run or what?? Thanks... Nani Oracle4
What r the features of QTP9.2,other than QTP8.0 What r the extre features of QTP9.2.  2
HI, Anybody can explain Automation Test Framework...and wht do we do before start of Automation..... Siemens2
3.How to record a word doc using qtp i.e open a word doc,type something and save the doc can someone send me the code.  2
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  1
In how may ways we can use checkpoints to an application using QTP?  2
wht is Driver in Integration testing. Anubody can answers it CTS6
Can u call txt extension file in QTP? Cap-Gemini2
How can i open 5 multiple browser at once through QTP VB script  2
Hi Friends, I have an application that is having some options to choose. While doing business transaction I need to select one option among from available options. But here the thing is, we won't get one option which we've chosen already and the available options will get automatically from the system with time basis, moreover each and every option having with various label names respective to that option. So obviously if I run my recorded script will automatically gets fail, even though it got pass at first time. Could anyone please give me appropriate solution for this. I would be greatly obliged with you if you give the solution as soon as possible. Zensar1
1. How can we use same object repository and Testscript which is in English flavor to check the application in different languages thru QTP?(Chinese,Dutch,French) - I generated script in english and want to use the same script with different languages? - for windows i used regular expressions - I need for edit box,button and combobox, (English,French,Dutch,Chinese) These are the properties of a button in different languages Properties English Dutuch Chinese French x 400 758 631 601 y 673 603 592 676 windowstyle 1342242816 1342242816 1342242816 1.34E+09 windowid 2 2 2 2 windowextended style 4 4 4 4 width 120 120 120 120 visible TRUE TRUE TRUE TRUE righttoleft reading FALSE FALSE FALSE FALSE righttoleftlayout FALSE FALSE FALSE FALSE rightaligned FALSE FALSE FALSE FALSE regexpwndtitle cancel Loschen Chinese language Annuler regexpwndclass button button button button objectclass button button button button hwnd 132872 657228 656932 656782 height 33 33 33 33 focused FALSE FALSE FALSE FALSE enabled TRUE TRUE TRUE TRUE attached text abs_y 669 599 627 597 abs_x 396 754 588 672 text cancel Loschen Chinese language Annuler nativeclass button Button ordinal Identifier type,Value none none none none smartidentification FALSE FALSE FALSE FALSE comment TCS1
difference between multiple parameterization and data driven wizard in QTP?  1
with out using import sheet came is it possible to get the excel sheet ? Ordain-Solutions2
Could anyone please tell me one situation where you have used recovery scenarion in real time with an example?  3
What are Test case selection criteria for Automation?  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