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

How do you invoke an application using the step generator in qtp?

5 Answers  


Define object spy ?

0 Answers  


Discuss the QTP Environment?

0 Answers  


why we use check points , In qtp we use the any check points , what r they , when and why

1 Answers   Polaris,


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

0 Answers  






How to Test the mainframe application?(tell me few basic things)

1 Answers   Covansys, IBM, UST,


what is difference normal,analog,low level recording in qtp? what is lowlevel recording?

2 Answers   JPMorgan Chase,


how to load the *.vbs (or) test generating script in a new machine?

3 Answers   Ordain Solutions,


write progamming connecting QTP to database sql? this is question asked by interview? pls any answer this?

4 Answers   IBM,


i this is balaji from chennai i have 4 yrs exp in testing and my qualification is bsc computers i completed in correspondace in which companiies accept the correspondace plz let me know

1 Answers   Accenture,


What are the properties you would use for identifying a browser & page when using descriptive programming ?

2 Answers  


When we try to use test run option "Run from Step", the browser is not launching automatically why?

1 Answers  


Categories