Why is the recorder not visible and playback of generated JUnit test code fails when the target platform is changed?
The reason the WT plugins are not loaded in the target platform (even if WindowTester has been installed in the target platform eclipse installation) is because WT is loaded using link files. WT is usually installed in the default directory \Program Files\Instantiations and then .link files are created in the eclipse installation directory to point to the WT plugins. This scheme does not work when the eclipse installation is pointed to as a target platform. Here’s what you need to do to be able to set the Target Platform to a different installation of eclipse. Get the WindowTester installation zip file for your eclipse version and unzip into the Target platform eclipse installation. This should take care of things and load the WindowTester plugins. Alternatively, you can follow the steps described under Adding WindowTester Plug-ins to custom PDE targets.
The reason the WT plugins are not loaded in the target platform( even if WindowTester has been installed in the target platform eclipse installation) is because WT is loaded using link files. WT is usually installed in the default directory \Program Files\Instantiations and then .link files are created in the eclipse installation directory to point to the WT plugins. This scheme does not work when the eclipse installation is pointed to as a target platform. Here’s what you need to do to be able to set the Target Platform to a different installation of eclipse. Get the WindowTester installation zip file for your eclipse version and unzip into the Target platform eclipse installation. This should take care of things and load the WindowTester plugins.
Related Questions
- When I try to execute a System.assert, the test fails, the test fails when the System.assert code is executed, is there some permission setting that I am missing?
- Why is the recorder not visible and playback of generated JUnit test code fails when the target platform is changed?
- Why should an ASIC designer write code that can target an FPGA?