SWTBOT selecting text of a dialog -


i'm running swtbot test , don't know how select text(message) of dialog.

i can text of shell like:

       bot.activeshell().gettext().equals("login error") 

seen method tooltip not message.

thanks

shell.gettext() return shell title. if want message inside dialog, have "find" it. you'll need use "bot.label()" , similar methods.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -