Forum Discussion
TanyaYatskovska
Alumni
13 years agoHi Artur,
I consulted with our R&D team and they've provided me with the following information: TestComplete will correctly work with the right thread only if you call a property/method of the SWT widget that will be inherited from org.eclipse.swt.widgets.Widget.
In the target thread, you will need to execute the following code:
Widget.getDisplay().asyncExec
So, if a special method is created for a visible widget in your app - you need to call it from TestComplete. Thus, you should avoid this error.