Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is descriptive programming?

Answers were Sorted based on User's Feedback



what is descriptive programming?..

Answer / rajendra pradeep

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 ?    3 Yes 0 No

what is descriptive programming?..

Answer / vinu

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 ?    2 Yes 0 No

what is descriptive programming?..

Answer / ravindra

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 ?    2 Yes 0 No

what is descriptive programming?..

Answer / chaitu

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 2 No

what is descriptive programming?..

Answer / mukesh

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 ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

Basically why we need testing?

14 Answers  


Connect to QC using AOM.

0 Answers   Deloitte,


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 Answers  


Which MS Excel formulas are possible to use in the DataTable? I am searching a formula for searching a field in the datatable

3 Answers   HP,


how will you handle the situation when object is not caputred during record?

0 Answers  


Explain about merging of two repositories?

3 Answers  


QTP supports both client server and Web applications. Does it support Plug-in?

0 Answers  


what is the syntax or command in vbscript to display user message example i want to display "welcome to QTP".

3 Answers  


Describe the differences between functions and actions in UFT?

0 Answers  


will QTP accepts javascript?

14 Answers   AppLabs,


write a qtp script to enter user name & password for flight reservation login page from excel sheet

1 Answers  


How to use the object spy in quicktest professional 8.0 version?

0 Answers  


Categories