Micro Focus QTP (UFT) Forums

Full Version: Retrieve the name of button of toolbar
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I tried to get name button of tool bar by using GetItem . I got error
" Invalid procedure call or argument"

Code:
For index = 1 To cbuttontoolbar
    sName = SwfWindow("Application:").SwfWindow("Maintenance").SwfToolbar("_ctlUltraWinGrid_Toolbars_Dock").GetItem(index)
Next


Would you help please? Thank you