Back to TILs

Testes com SWTBot

Date: 2019-11-12Last modified: 2023-03-07
SWTBotMenu windowMenu = bot.menu("Window");
windowMenu.click();

SWTBotMenu showViewMenu = windowMenu.menu("ShowView");
showViewMenu.click();

SWTBotMenu otherMenu = showViewMenu.menu("Other...");
otherMenu.click();

SWTBotTree tree = bot.tree(0);
SWTBotTreeItem tItem = tree.getTreeItem("General").expand();
tItem.getNode("Console").doubleClick();

ReferĂȘncias