what is the Descriptive Progarmming? how it is help to
testers in QTP?

Answers were Sorted based on User's Feedback



what is the Descriptive Progarmming? how it is help to testers in QTP? ..

Answer / mukesh

I aggree with murali answer. The thing is that without
using object repository we have to descibe the object
properties in the script itself. by this we can save lot of
space and one more thing is that we can't use check points
while doing DP since object repository is required for
check points

Is This Answer Correct ?    1 Yes 0 No

what is the Descriptive Progarmming? how it is help to testers in QTP? ..

Answer / murali raju

without using object repository...we can able to run the
scripts using descriptive programming..whenever object
properties are changed,or objects are not recognized
properly..and object repostiroy size will increase..that's
the reason we write descriptive programming..just we add
the properties in our scripting..if u want how to write
descritptive progrmming ...then i will explaing later..

Is This Answer Correct ?    0 Yes 0 No

what is the Descriptive Progarmming? how it is help to testers in QTP? ..

Answer / indu

Murali this is indu.i know how to wok with qtp but,the prob
is in wiriting descriptive programming.will u pla tell how
will write the D.P.

Is This Answer Correct ?    0 Yes 0 No

what is the Descriptive Progarmming? how it is help to testers in QTP? ..

Answer / narendra

I echo with Murali answer and one more important advantage
of DP is.. we can run the DP wherever we want without OR
setting dependencies. e.g If we have a DP for yahoo
application and we can copy and paste the DP wherever the
QTP available and yahoo application accessible then simply
run it.

Hello Indu, find the DP program for gmail login below

browser("title:=Gmail: Email from Google - Microsoft
Internet Explorer").page("title:=Gmail: Email from
Google").WebEdit("name:=Email").Set "uname"

browser("title:=Gmail: Email from Google - Microsoft
Internet Explorer").page("title:=Gmail: Email from
Google").WebEdit("name:=Passwd").SetSecure "encrypted format
of password"

browser("title:=Gmail: Email from Google - Microsoft
Internet Explorer").page("title:=Gmail: Email from
Google").WebButton("name:=Sign in").Click

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How to handle Dynamic Arrays?

0 Answers   Wipro,


Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints

0 Answers  


Hi all im having a pop up validation browser which is 20 in number, i want to close those similar pop browsers one after the other, is there any specific code for that? i tried by giving creation time & putting in a loop but it dint work? valid working answers will be greatly appreciated

2 Answers   McAfee,


I have given u a application.To automate it what are the things will u consider?

4 Answers   Wipro,


How To Export The Screen Shoots Along With The Test Reports In QTP Version 10? Thanks In Advance SenthilKumar

1 Answers  






I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

0 Answers  


What is QTP and the use of QTP in TD?

0 Answers   MaxSolPro,


How to retrieve value (data) from notepad using QTP ?

5 Answers   Health Care,


CAN WE USE 'BVA' AND 'ECP' IN AUTOMATION?

3 Answers   Polaris,


If a script has a local repository and also uses a shared repository, which repository will QTP use first when searching for an object during playback?

3 Answers  


write a script to close all open browser in qtp except one browser whose name is xyz

6 Answers   Cap Gemini,


After i ran the Test in Batch mode i didn't get any results. Can any one let me know how it can be done?

3 Answers  


Categories