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 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,


Does QTP work in UNIX environment

5 Answers   BirlaSoft, C1 India,


What are "Ordinal Identifiers" and where it is used in QTP. AS FAR AS i KNOW, its is used to identify the object. but i want clarity regarding this.

2 Answers  


Diff b/w Health care domain and Banking Domain?

0 Answers  


How to match two doc files using qtp requirment is:- each and every single word of a doc file should be matched with the another doc file. can someone send me the code.

1 Answers  






Hello Everybody, Can anyone tell me that in QTP how to count the number of webelements from the object repository. Please provide the code. Thanks in advance, Gaytri

3 Answers  


Hi, I have weblist which contains the data like Design change,admin edit and cost saving etc.. User doesn't know the values existed in weblist. Now the user has to select the right value from the list otherwise the test will fail. Pls help me "To select the correct value from the list"

1 Answers  


i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?

0 Answers  


write a qtp script to see time in windows command prompt? its urgent....

9 Answers   BSL,


How open an excel sheet in QTP(not a run time )?

4 Answers   Tech Mahindra,


Anybody wants to learn QTP with realtime implementations and complete framework desiging plz contact to this mail id ciraaj@gmail.com

1 Answers  


Hi, Can anyone write the following qtp script...please its urgent ·Navigate to Google in a new IE instance ·Search for the following word "Gap, Inc." ·Iterate thought the first 10 pages of google ·On each page collect the following ·The "blue" page title ·The "green" url ·Output all the data into a file named "test_output.txt" ·Format "Title – URL"

1 Answers  


Categories