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

Hello Everyone, I have a problem. QTP is capturing no action on a particular page in the application that I am trying to automate. But on the same side its working fine on other pages of the same application. Can someone please help me understand the reason behind this inconsistency.

1 Answers  


HOW to invoke any recorded script in QTP with out using RECORD & PLAYBACK CONCEPT?

3 Answers   CTS,


with out using import sheet came is it possible to get the excel sheet ?

2 Answers   Ordain Solutions,


Did the scripts need lot of maintenance? If yes, why?

0 Answers  


What is the extension of script and object repositary files?

2 Answers  






explain how to write vb script in qtp?when will you write own script?

0 Answers   FirstApex,


While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next

1 Answers  


Can you tell me QTP is support for GIS(Geography Information System) Based Software.

1 Answers  


what are the qtp tester responsibilities?

3 Answers  


What is quicktest professional window?

0 Answers  


The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....

1 Answers  


Get the count of files of similar types from a folder.

0 Answers   Deloitte,


Categories