Descriptive Programing in QTP

Understanding Descriptive Programming in QTP (QuickTest PRO):

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.

Example:

Browser(”Browser’).Page(”Page”).WebEdit(”userName”).Set “John”

Identifying the different Type of Objects:

Here are a list of basic objects that can be used when writing your descriptive Programming.

  • WebList:
  • WebButton:
  • Image:
  • Link:
  • WebEdit:
    webedit

Share/Save/Bookmark

  •  

    January 2009
    M T W T F S S
    « Oct    
     1234
    567891011
    12131415161718
    19202122232425
    262728293031