what is the Descriptive Progarmming? how it is help to
testers in QTP?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
How to handle Dynamic Arrays?
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
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
I have given u a application.To automate it what are the things will u consider?
How To Export The Screen Shoots Along With The Test Reports In QTP Version 10? Thanks In Advance SenthilKumar
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...
What is QTP and the use of QTP in TD?
How to retrieve value (data) from notepad using QTP ?
CAN WE USE 'BVA' AND 'ECP' IN AUTOMATION?
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?
write a script to close all open browser in qtp except one browser whose name is xyz
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?