what is the use of descriptive programming in QTP ? when we
need to use DP? can we test the application completely with
out useing DP?? please explan with example

Answers were Sorted based on User's Feedback



what is the use of descriptive programming in QTP ? when we need to use DP? can we test the applica..

Answer / suchismita

descriptive programming in QTP means whenever qtp facing
dificulty with obj identification then we will go with
regular exp or desc prog .

without using the objectrepository, and by using the
objectspy we will write the DESCRIPTIVE programming .
when ever we will go to DESCRIPTIVE programming :-
1.when ever objects are dynamicaly changing.
2.when ever QTP is not going to recognise the objects.
3.when ever objectrepository size is huge automatically QTP
wil get down slow.
4.when ever not yet develop the build then only we will use
DESCRIPTIVE programming .
Yes we can test the application completely without using
DP.hera we can use Object reposotary.

Is This Answer Correct ?    3 Yes 2 No

what is the use of descriptive programming in QTP ? when we need to use DP? can we test the applica..

Answer / nidhi jain

Suchimita is correct.
For example - your radio button is customize and every
client changes its option as per their requirement then you
can use following code
WebRadioGroup("value = ...").select".."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How can I map test requirement to Test Set (multiple test cases)? Under test lab, I have multiple test cases. I would like to map 1 requirement to all test cases under that test set (in test lab)? Currently, I think QC only allow mapping 1 test requirement to 1 test case. Instead I would like to map 1 test requirement to multiple test cases under one test lab.

4 Answers   CarrizalSoft Technologies, DST Global Solutions,


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

0 Answers   CTS,


Is it possible to change the property value at runtime? How it is possible?

0 Answers  


What is the basic concept of quicktest professional (qtp)?

0 Answers  


tell me QTP standards ?plz

0 Answers   Kanbay,






what is TOM in qtp?

5 Answers   Accenture,


What are private functions in QTP? How they can be called from the function library?

0 Answers   HCL,


In qtp what type of data tables are used , name and list out them

1 Answers   Polaris,


Write a script to verify font style and color of a windows object using descriptive programming

0 Answers  


What is the difference between Systemutil.run and Navigate.

6 Answers   Synechron,


what will be there in keyword view and expert view?

2 Answers  


what is use of the object repository?

4 Answers  


Categories