Hello guys,
Could you please suggest, how can I get access to the toolbar item? Please see below.
In general I need to check if this item sticked or not.
And also, could you please share the link to the PerformToolAction object description (methods, etc)
Thank you in advance!
Hello Amitair,
Thanks for your response. if you have any further questions, please feel free to write us
Regards
dmoskalenko said:How could I get the nested object? fot example the btn from menu (please, refer to below)
Maybe one possible approach could be if you are using :
SwfWindow("Form1").SwfToolbar("_Form1_Toolbars_Dock_Area_Top").GetItem "UltraToolbar1", 2
where 2 in my sample is the index of desired tool.
Thank you, the code QTP recorded was incorrect, using the help file and playing around with TestAdvantage.QTPServer.TypeInformation.xml to determine the write consts, I was finally able to select
Ok, thank you!
Other question:
How could I get the nested object? fot example the btn from menu (please, refer to below)
How can I determine the path to the nested object?
Thanks in advance
Hello,
The GetContent method takes a single parameter for the toolbar that you want to get the content of. It will then return a list of the captions for all of the tools in the toolbar. As far as the parameter, an example would be the first parameter that was recorded for a ClickToolbarTool method.
Note that details on the methods for TestAdvantage can be found in the help that was installed with TestAdvantage and is accessible from the start menu.
Let me know if you have any questions with this matter.