What is Descriptive Programing? In which cases, we will go
for descriptive programing?

Answers were Sorted based on User's Feedback



What is Descriptive Programing? In which cases, we will go for descriptive programing?..

Answer / ashish srivastava

1.When you do not want to use the Object Repository and
want to sepcify the property value of an object by writing
on the script.In that case we use Descripting Programming
(DP)

2. When we want to create function inthe external file such
as class File Library then we use descriptive programing.

3. When we know the property value of the object that are
use in the application by the developer ,so we can start
writing the script before the application come to the AUT
(Application Under Test).In that case we can use
descriptive programming

4. When we want to reduce the size of the Object Repository
In that case we use descriptive programing

Is This Answer Correct ?    7 Yes 1 No

What is Descriptive Programing? In which cases, we will go for descriptive programing?..

Answer / mahabooob

The Objects in the application are dynamic in nature and needs special handling to identify the objects ,The best example would be of clicking a link which chages acording to the user of the application.
When the objectrepository is being huge due to the number of objects being added to the application ,if the objectrepository is increase too much decrease the performance of the qtp in order to identify the object,
when the application is not developed at,writing the scripts for application is application to be up,or if we no the descriptions of the objects we can starthem of the early stage.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

Wt is the difference between Business Component and scripted component?

1 Answers   BSL,


QTP 9.2, Issue: Creating Shared Object repository. I recorded 2 scripts. I exported the Object Repository to a shared location for the first script. Associated the exported repository to the first script and deleted the Local Repository for the First Script. Now Opened the Second script and try to Add the Local Object Repository of 2nd Script to Exported Object Repository. But I fail. Can anyone please help in providing steps that need to be followed in creating a shared object repository? Thanks in Advance.

3 Answers   Google, UHG,


how to get column count in datatable

3 Answers  


Explain the differences between table and db checkpoints?

0 Answers  


What is the descriptive programming?

0 Answers  


how i can get the value of label box , please any body tell me script of that code

1 Answers  


In ordinal identifier there r 3 options available. Which one will be enabled first when ordinal identifier is invoked.

3 Answers   Cap Gemini,


WHICH PROCESS U FOLLOW IN COMPANY

1 Answers   IGT,


What the differences are and best practical application of Object Repository?

0 Answers  


Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so..

2 Answers  


Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks

0 Answers  


1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?

5 Answers   STC,


Categories