0

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

Oren Sarid
  • 143
  • 1
  • 12

2 Answers2

0

Try bot.cTabItem(index).activate();

Ian R. O'Brien
  • 6,682
  • 9
  • 45
  • 73
Andrei Pop
  • 30
  • 4
0

it works for me by using the Keyboard func (shortcut: ALT+C):

KeyboardFactory.getAWTKeyboard().pressShortcut(Keystrokes.ALT,KeyStroke.getInstance(0, 'C'));
bot.sleep(3000);