Close

descriptive programming syntax in qtp

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