Pls let me know completely about descriptive programming,
where it is used, pls explain with a real time example of
its occurence and the program code written in qtp.
Answers were Sorted based on User's Feedback
Answer / subhan.qa
Whenever QTP records any action on any object of an
application, it adds some description on how to recognize
that object to a repository of objects called object
repository. QTP cannot take action on an object until unless
its object description is in the Object Repository. But
descriptive programming provides a way to perform action on
objects which are not in Object repository
There are two ways in which descriptive programming can be used
1. By creating properties collection object for the description.
2. By giving the description in form of the string arguments.
to know more about the descriptive programming please go
with fallowing link
http://bondofus.tripod.com/QTP/DP_in_QTP.doc
Thanks and Regards
Subhan.k
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ycy
The following are the points when to use DP
1.When you don?t have object repository in OR at all.
- Product under development
2.The objects in the application are dynamic in nature and
need special handling to identify the object.
3.When object repository is getting huge due to the no. of
objects being added.
4.Modification to a test case is needed but the Object
repository for the same is Read only or in shared mode i.e.
changes may affect other scripts as well.
5.When you want to take action on similar type of object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravindra
Suppose we have a web application that has not been
developed yet.Now QTP for recording the script and adding
the objects to repository needs the application to be up,
that would mean waiting for the application to be deployed
before we can start of with making QTP scripts. But if we
know the descriptions of the objects that will be created
then we can still start off with the script writing for
testing
| Is This Answer Correct ? | 0 Yes | 0 No |
Hi, actually I completed Btech(CS). But i Will go to admin (Facility) interview. So, If Interviewer asking like " Why You choose this field". What we say? pLZ PLZ PLZ PLZ >............................................Send me.....
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
Can we put more than one action in a single script???? yes or no.....
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
Why is action split used by qtp?
Ex : some mail name with surname Email id's there that is string fetch the particular surname only how to get particular surname all emails
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
What is the new version of qtp which is recently released in the market?
Can I change properties of a test object?
What are the different properties of an web object
IF we use batch testing.the result shown for last action only.in that how can i get result for every action.
how can we test load time of an page in webtesting?