Hi,
TestAdvantage ver 2010.3,
Following code is not working
'Get the list of items in the toolbar tlbContent = SwfWindow("Microsoft TaskVision 1.1").SwfToolBar("tbrTop").GetContent
'no. of Items in toolbar
cItems = SwfWindow("Form1").SwfToolBar("Formatting").GetItemsCountSwfWindow("Form1").SwfToolBar("Formatting").GetItem(index)
Also not able to find out one of the toolbar button ENABLED or DISABLED property value with GetItemProperty.
As Button click Record-Playback code gives this for Toolbar
PerformToolAction tbmgrToolbar, tbmgrClick,tblbarname , btnName
There should be equivalent code for operations - GetItem(), GetItemsCount, GetContent, GetItemProperty
Pl advice on this.
Thanks,
~Laxmikant.
You have passed toolbar as "Editors"...What is that???
What needs to passed at that position???
I am able to get the item from toolbar. How to select that item? which item property needs to be used?
You have passed "Editors" as argument for getitemscount(). What is that?
What needs to pass? Is it the toolbar name that we got while recording???
Thanks for your valuable support. There are no more question on this.
Do you have further questions?