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

We have a dynamic webtable where rows keep on adding.I have to click on particular row where the status changes to Update or Save.How do you click on Status(either it can be Update or save)

2 Answers   IBM, Infosys,


How vl i prioritize the actions when i have 10 actions A1, A2, A3......A10. I want to run action as follows A1,A5,A6 and A10. How i can do it. Thanks in Advance to u.

7 Answers   IBM, Wipro,


What is the default add-ins in qtp?

1 Answers  


can u explain relative path architecture framework in qtp?

1 Answers   Mindlance,


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

1 Answers   TCS,


Explain in brief about the quicktest professional automation object model?

1 Answers  


How can i select multiple values from drop down list using vb script in qtp? and wt is the script for clicking msg box box automatically with a specific time. Thanks in advance...Kalyani.

2 Answers   Accenture, CSC,


Which scripting language used by QTP?

1 Answers  


Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()

1 Answers  


Difference between action & Reusable action?

1 Answers  


How do function returns a value?How can we pass one function value to other function as input

3 Answers  


waht is puirpose of accesbility Check point? waht is the use of Page and XML check points?

1 Answers  


Categories