4.2.2 Setting up an RCP AUT for testing

If you want to test a Rich Client Platform application, you must ensure that our "RCP Remote Control" plugin (org.eclipse.jubula.rc.rcp) is added to your AUT and that it will be started when the AUT starts. If you are working in a continuous build and test process, then we highly recommend doing this as a part of the product build, or just afterwards 4.2.2.1. For testing purposes, and to get started quicker, the steps can also be done manually as follows:

\includegraphics[height=2cm]{danger} Please ensure that you follow all these steps!

  1. Locate the installation directory, and open the development folder.
  2. Extract the content of the rcp-support.zip folder into the plugins directory for your RCP AUT .
  3. RCP applications generally have a configuration/config.ini file which contains the parameter osgi.bundles. This parameter needs to be modified to allow the RCP remote control plugin to load on AUT startup. You must add ,org.eclipse.jubula.rc.rcp@start (the comma is important to delimit this argument from the others) to the end of the osgi.bundles parameter.
  4. Start your AUT normally (i.e. not as an AUT . Close it, and then start it again.
  5. In your AUT , open
    Help --> About
    .
  6. In the plugin details for your AUT , you should be able to see that the following plugins are started:
  7. If you can see these plugins, then you can continue and start your AUT via e.g. an AUT configuration 3.7.4.2 or via autrun 3.7.4.6.
  8. If you cannot see these plugins, then you should speak to a member of the development team to implement the suggestions described in the section below 4.2.2.1.
\includegraphics[height=2cm]{lightbulb} When you install a new version of the ITE , you must repeat these steps with the new RCP remote control plugin. We recommend starting your AUT once with "-clean" to ensure that the new remote control plugin is used.
If you do not follow these steps, the AUT Agent will not be able to communicate with your AUT !



Subsections

Copyright BREDEX GmbH 2014. Made available under the Eclipse Public License v1.0.