How to get the button ID of a button in SapToolbarControl?
问题 I have a SapToolbarControl (MicroFocus) and I want to press a button of that toolbar. However, any of the methods selectButton(), selectContextButton() or pressContextButton() require a parameter called id of type String . I was unable to find out where to get the ID from. I am using Silk4J 16 Hotfix 2 in Eclipse Luna. This also happens in Silk4J 15.5. 回答1: The SAP automation API provides a method called GetButtonId which is not implemented by Silk4J. The method takes the position of the