23 Sep This tutorial demonstrates how to use Descriptive programming in your QTP scripts & its two type viz. Static and Dynamic. QTO UFT Descriptive programming (DP) is using by create descriptive object or Using set of properties and values directly in the statement. This article covers the basics of Descriptive Programming in QTP with the main So when you run the above code, QTP will try to find out the object properties . article with pictorial representation which i never seen any other tutorial sites.
QTP also provides another way to retrieve all the objects matching given properties. Anonymous on January 11, at Business Analyst Project Management Informatica.
DP on September 6, at Himanshu Sharma on May 5, at To answer ur questionu can use Visual relation identifier. If you enjoyed this article, you can join our blog to get new articles delivered directly in your inbox.
Descriptive Programming in QTP/UFT: Dynamic & Static
In most of the pages i need to check this functionality. And this is the way, you write your Descriptive Programming Code.
I have several scripts which create objects on the fly and still run very fast. As a rule of thumb, you should use a minimum set of properties to identify an object.
Can someone advise as to where you can find a compelte text for methods of Descriptive Programming? It does not seem to be a problem, anyway, it does. Is the above error message coming because of this window 3. But we want descriptivf WebCheckBox objects.
QTP – Descriptive Programming
Part 2 Tech Lessons. Hi Div, In what sense do you want to block sites?
So why do we need another programing in the hierarchy? Your are doing an Excellent service. Then again you need to open if it is descdiptive open. In the example mentioned above, if you wish to substitute a variable instead of using a regular expression, it can be written as. Aakriti Gandotra on November 1, at I would like to check if Descriptive Programming is the means to rescue, if QTP fails to recognize objects in your web application.
Tanu on December 31, at Vij on July 7, at Sunil Goswami on February 18, at Can you email me the screenshot of the object spy and the screenshot of the web browser when the error occurs?
I have created three actions in one test Action1, Action2, Action3. Did you find this article useful? The above statement assumes that test object properties for Browser and Page, WebEdit are present in the Object Repository file which tutorail attached to the test.
Hi Ankur, I read your posts it is really helpful.
Anonymous on December 9, at How to schedule a Test Batch Runner to run the script automatically without user intervention to press key F5?