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   To Refer this Site to Your Friends   Click Here
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
 
1.how can we report the QTP test result in a different excel sheet 2. Aurigo3
I am having trouble understanding #1 how to paramaterize a userid and password that I need to call in about 25 existing scripts. I need to know how to Create a Reuseable action for 25 existing scripts that will call the exact same userid and password? I need to know how to create a Reuseable action and then have it called by existing scripts being run in a batch.  1
anyone can explain about "Hybrid framework" in QTP  2
Explain QTP Testing process ? TCS6
What is the limitation to XML Checkpoints?  1
i want know iam working 2+ exp in QTP can i do performence testing (eg:loadrunner) yes r no? IBM6
What are the different types of Database checkpoints in QTP? when they are used?  1
Which function is used to accesses the Properties from Repository Pls anybody can give the answer.. Thanks in advance... Navis2
what is qtp automation frame work,what is the use of that frame work? iGate34
Explain about invoking of application?  2
what is the purpose of .vbs file? HCL2
What is throw object?  1
How to covert a String to an integer?  3
What is operator in VB Script? IBM1
Is there is any method how to connect remote desk throw QTP if yes please answer with a example? HP3
what r the main benefits of automation?  2
hi testers,one script has three actions , at the of running three actions are running , how to set run only perticular action and what is the use of split the action? when it will be useful? Syntel2
If you are using descriptive programming and you have two objects with the same name, so you are identiying them by name and index, how can you avoid errors if a third object with the same name is added at the begining of the page?  4
What are the difference between QTP and Winrunner  5
In a webtable, lets say there are 10 records and 1 column. let say "image" is available for 1st,2nd and 3rd records and 4th onwards image is not available. How to recognise for that cell image is available or not?  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