What is dynamic descriptive programming?

The second way to write descriptive programming is by using the Description object.

This way is also known as Programmatic Description. Description Object also do the same thing as static way do but there are some differences.

  • Description Object stores the properties and values of a particular object in an instance of that object. So it become easy to use it in the statement.
  • Description Object are used with ChildObjects (very useful method) of QTP.
  • It’s more useful if you are using multiple properties to identify object. As you will use only instance name in your statement, your code looks more organized.
  • It’s very handy if you are using index property for object identification.
Tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.