I recorded against my application on Windows, and I am now trying to invoke the test on Linux. My test code is being executed and obtains the initial UIContext via getUI(). However, my next line of code - ui.click(new MenuItemLocator("File/Preferences...")); - fails. I did a remote debug of my test on this Linux machine, and here is the following:
com.windowtester.runtime.swt.internal.widgets.SWTUIException: Exception occurred on the SWT UI Thread
java.lang.RuntimeException: Failed to create widget reference for instance of org.eclipse.swt.widgets.Menu
WindowTester: 201009131510 - linux,gtk,x86
Does WTP support the ability to re-run recorded tests on other platforms?