I'm developing an Eclipse RCP application and running automated GUI tests using SWTBot. When I want to run a test from within Eclipse I right click on the test method (or class), then click "Run As" -> "SWTBot Test". This then runs the test and creates a run configuration.
The problem is that when the run configuration is created for the first time, it always uses the "org.eclipse.sdk.ide" product by default (in the "Main" tab of the run configuration"). This means the test will run the Eclipse IDE product and try to run my SWTBot tests on it. I have to manually edit the run configuration to use my RCP application's product file and run it a second time.
How can I specify a default product to use for all newly-created SWTBot run configurations?