getButtonText()
Get the text from the specified button.
Syntax
getButtonText(
buttonName STRING)
RETURNS STRING
- buttonName is the name of the button.
Usage
Use it to return the text of a button. If the application being tested changes the text on buttons depending on a given state, the test may need to return the current text being displayed on the button. An error is raised if the button is not found. For example, get the text from the "update" button:
LET buttonText = ggc.getButtonText("update")