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 ?    0 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 0 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
 
How to import excel sheet to QC?  1
What are the most frequent errors you faced while executing your scripts? Semantic-Space2
what are the metrics in general we use in testing Tanla-Solutions1
what r the 3 basic factor on which we determine to perform automation AppLabs4
How to count the no of objects in XML file(QTP)  1
Can we add the function library directly from scripting in qtp instead of adding from resource tab? IBM2
can we run the scripts of qtp 8.2 in the qtp7.0?  1
IN A WEB PAGE THERE IS TWO WEB BUTTON WITH SAME OBJECT PROPERTY AND VALUE, SO HOW I WILL IDENTIFIE OBJECTS INDIVISUALY.  1
hello...any one tell me , where can i get company email id.. actually i am searching on testing... in my CV i put 3+ exp.. but all companies are asked company email id.. please provide solution for that... thanx in advance...  5
Tell me the QTP Advantages and Disadvatages ? Accenture3
give me descriptive programing code sample flight application in qtp? CA2
What do you do if QTP doesn't recognize object ,what action should be taken Lehman-Brothers8
Hello Everybody, Can anyone tell me that in QTP how to count the number of webelements from the object repository. Please provide the code. Thanks in advance, Gaytri  2
What is difference between function and procedure? Wipro11
Give some brief idea about a) Active x check b) Alt property check c) Applet object check d) Frame object check e) Multimedia links check f) Server side image check g) Table object check CTS1
can some one help me how to compare the values from one sheet to values in another sheet? suposse i have a feild called Temp in action1 and i also have temp in action2. i want to compare the values of those two actions sheets data table? how can i do it using descriptive programming?  1
What are they Advantages and Disadvantages in QTP 9.2? Infotech1
wt is the xtension of the QTP result view file?  4
please send detail navigation for merging of object ripositories in QTP 8.2 Ordain-Solutions3
hi everyone today is the first time i saw this website,and hi iam siraj,iam very impressed by seeing evryones response towards questions,iam a newcomer and i have got tryining in testing can anyone please send me some projects relaited to testing.i know it is very confidential but still if u send it will a great help. my mail id venku_krs@yahoo.co.in  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