lbyrne
10 years agoContributor
button bars
The following code was recorded using Test Complete. Set toolkitButtonBar = splitContainer.WinFormsObject("SplitterPanel", "", 1).bbarBroker Call toolkitButtonBar.Click(36, 50) A button call...
What happens if you try
Call toolkitButtonBar.Items.Item_2(0).Click
<script>// function writeContent(){ document.getElementById("container").innerText = document.getElementById("dataIsland").innerHTML; }window.onload = writeContent; // </script>
I get the following error
Object doesn't support this property or method: 'toolkitButtonBar.Items.Item_2(...).Click' Error location: Unit: "HSPAdminTK\Codes Management\Script\Tasks" Line: 202 Column: 1.