How to access Clipboard while running SWTBot tests?
Following code throws Invalid thread access.
Clipboard clipBoard = new Clipboard(SWTUtils.display());
Object object = clipBoard.getContents(TextTransfer.getInstance());
The above code is working when run in the UI Thread. Is this the only way?
How to access the clipboard in the SwtBot thread?