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
what is descriptive programming?
 Question Submitted By :: Ramkrish_2009
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is descriptive programming?
Answer
# 1
Descritive Programming is develoed based on VbScript

Descriptive prog. execution is mainly based on Object 
Properties  description

when u want to write DP then first u go for 
description.create()Object with assigning of object 
properties

generally we can identify object properties with the help 
of OBJECT SPY


for Example we want to prepare DP for Login operation
Step1 : Prepare Object Descripton

Step 2: Write VbScript for that Login Operation(with help 
of DP)
SystemUtil.Run "Path of Server","",Path of .exe".Open
Step 1
Set Login_Obj = Description.Create()
Login_Obj ("name").Value = "Login"
Login_Obj ("micclass").Value = "Dialog"

Set Uname_obj = Description.Create()
Uname_obj ("name").value = "username"
Uname_obj ("micclass").Value = "WinEdit"


Set Pword_obj = Description.Create()
Pword_obj ("name").value = "username"
Pword_obj ("micclass").Value = "WinEdit"

Set Ok_obj = Description.Create()
Ok_obj("name").value = "OK"
Ok_obj("micclass").value = "WinButton"


Step2
Dailog(Login_obj).Activate
Dailog(Login_obj).WinEdit(Uname_obj).Set "xxxx"
Dailog(Login_obj).WinEdit(Pword_obj).SetSecure "xxxx"
Dailog(Login_obj).WinButton(Ok_obj).Click
 
Is This Answer Correct ?    1 Yes 1 No
Chaitu
 
  Re: what is descriptive programming?
Answer
# 2
Make QTP to run an application through Script.

The Script may contain .VBS functions,JS files,XML Files.

Describing an object with in an application without 
recording the properties of that object is 
called "Descriptive Programming"
 
Is This Answer Correct ?    1 Yes 0 No
Rajendra Pradeep
 
 
 
  Re: what is descriptive programming?
Answer
# 3
Instructing QTP to perform Operations on AUT objects which 
are not present in Object repository.

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, which is known as OR
(Object Repository)
 
Is This Answer Correct ?    1 Yes 0 No
Vinu
 
  Re: what is descriptive programming?
Answer
# 4
Descriptive Programing is nothing but but describing the 
object properties in the script itself. We do not need 
object reposiroty for descripting programing. and one more 
thing is that we cann't use check points in descriptive 
programing, since we will not use object repository in DP.
 
Is This Answer Correct ?    0 Yes 1 No
Mukesh
 
  Re: what is descriptive programming?
Answer
# 5
Descriptive programing is nothing but without using the 
objectRepositary we are writing the script for the 
functionality.
 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
 
wt is memory leakage? BSL5
Associated files in QTP?  1
How do u use Database checkpoints and what are the use? Qualtree-Solutions4
How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application. plz explain in detailed or mail the sample code to malepatin@gmail.com  1
hi,i have a pblm in qtp,im testing an webappl in which different types of error pop up messages are displayed which qtp is not differentiating or it is not recognising. how do i make it recognise different popup errorm messages while writing script?  4
what will be the stmt if record any edit box in the Web application ? eSymbiosis2
Hi, Plz give best Definition of Software Testing? Why we need Software Testing? and plz send 2+yrs experience Interview qutions (Manual,Qtp).  3
For Usability testing, which is preferable Automation or Manual?  5
What are the Mandatory Properties of WebTable Object and Link Object in Web testing using QTP iLink2
What does VBS file contain...??? what is VBS file.. ??? GE6
How do u write script in qtp? where do u write?  2
How does QTP identifies the object in the application Convergys5
When i use paramateriztion for tickets in flight reservation application , the tes'll run for first iteration but for the second iteration it'll give this details, but the second iteration is failed. Pls anyone clarify it. Cannot find the "Agent Name:" object's parent "Login" (class Dialog). Verify that parent properties match an object currently displayed in your application.  1
What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP. HCL1
Can any one tell the different properties and values of differnt objects like Browser,Page,link,webedit,webcombobox,webradio botton,webcheckbox and web button.Because I am facing a lot of problems in interviews with Descriptive Programing.I never worked on web Application...Pls help any one as soon as possible....  2
Do we get any issues if we run the test script on differentbrowsers?what are the options we need to set in QTP? CTS3
What is source control?  1
Hi,EXCEL SHEET AND DATA TABLE . BOTH ARE SAME OR NOT?  3
What is the difference between Call to Action and Copy Action.?  2
How does QTP identifies the object in the application Mainly objectives are three type's OF PROPERTIES namely  3
 
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