Ask a Question

Error in the help section "Checking the Toolbar Buttons' State"

Bonibom
Occasional Contributor

Error in the help section "Checking the Toolbar Buttons' State"

https://support.smartbear.com/testcomplete/docs/app-objects/specific-tasks/standard/tool-bar/checkin...

 

Section: Checking if the Button is Enabled

 

Python example:

 

while ToolBar.wEnabled("Up"):
    ToolBar.ClickItem("Up")

leads to runtime error

 

 

TypeError: 'IDispatchIndexedPropertyWrapper' object is not callable

 

The example would need to be corrected to:

 

while ToolBar.wEnabled["Up"]:
    ToolBar.ClickItem("Up")
1 REPLY 1
HKosova
SmartBear Alumni (Retired)

Thanks for the report! This will be fixed in the next update.


Helen Kosova
SmartBear Documentation Team Lead
________________________
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: