Micro Focus QTP (UFT) Forums

Full Version: Descriptive Programming for windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

How to write descriptive programming for windows application. i have used object spy to identify the properties of application, if i click on a button, the properties are displayed as "Window: Apllication name"
I can view only its x and y co-ordinates.
Can anyone help me?

Thanks in advance
Code:
Set objwindow = description.Create()
      objwindow("micclass").value = "Window"
      Set objchilds = Window("Application Name").ChildObjects(objwindow)

Check if the above code is helpful for you...