Hello,

SWTBotShell shell=bot.shell("Launch Terminal");
shell.active();
bot.combobox(0).setSelection("Telnet Terminal");
bot.text(0).setText(hostIP);
bot.combobox(2).setText(Integer.toString(port));
bot.button(0).click() ; //OK Button
bot.waitUntil(shellCloses(shell));

I saw Terminal view host connected

How can we read text output in cTabItem(0) as in console ?


We execute this line :

view.cTabItem(0).contextMenu.menu("Select All").click();
or  view.cTabItem(0).contextMenu("Select All").click();


But we get this error :

error: Could not find context menu for widget: CTabItem {*Wrong  Thread*}
message


Regards

-- 
Yunus Atmaca
_______________________________________________
swtbot-dev mailing list
swtbot-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/swtbot-dev

Reply via email to