We're writing some tests using SWTBot, and we need to change some things in the common tab of the run configurations during the test. Any idea on how to navigate there?
Thanks, Oren
尝试bot.cTabItem(index).activate();
it works for me by using the Keyboard func (shortcut: ALT+C):
KeyboardFactory.getAWTKeyboard().pressShortcut(Keystrokes.ALT,KeyStroke.getInstance(0, 'C'));
bot.sleep(3000);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.