You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Taisiia-Kozlova edited this page Nov 7, 2017
·
5 revisions
Button – simple graphic element that triggers some event when being clicked on.
Example:
The actions available are limited by nature of buttons. In most cases, you will just wish to click on them.
Also, sometimes you might want to get the text from the button.
In JDI this can be easily done with a simple method
getText() that retrieves button text, no matter which tag of the element holds the text-value.