Access to NavbarControls
We are using a software windows application.(Attached screen shot)
we have navbar control in our application which we are trying to test using QTP.
The navbar control gets recognized as an SwfObject. There are 7 groups(bars) in the navbar control which when clicked will expand. Inside each group would be a treelist.
I'm able to access the caption property, count property of each of the the group as follows:
SwfWindow("X").SwfObject("navBarControl").Object.g roups.Item(0).Caption ' This would return the name of the 1st group.
But, i want to perform a click on the group, so as to expand it and access the treelist. But, its not allowing me to perform the 'Click' operation. Also, it says "Object Required" if i try to set any of the property of the group. But it returns the value of any property if i try to retrieve.
Help me in clicking the specific group of the navbar control.
Thanks & Regards