Back to TIL list

Testes com SWTBot

Created at
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