descriptive programming

Descriptive Programming Sample Codes

In this blog post, we will see some useful Descriptive Programming Sample Codes which helps you to achieve some basic operations. Below code retrieves number of web buttons in QAInsights window: Set Desc = Description.Create() Desc(“micclass”).Value = “WebButton” Set Buttons = Browser(“QAInsights”).Page(“QAInsights”).ChildObjects(Desc) MsgBox “Number of Buttons: ” & Buttons.Count Below […]

Read More

Descriptive Programming in HP QTP

In this blog, we will see about Descriptive Programming in HP QTP and some sample codes which helps you to learn and practice. What is Descriptive Programming? By default, QTP recognizes everything as an object. Each object’s properties, methods, and values get stored in repository called Object Repository. During run-time, […]

Read More