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
Post a Comment