Although Jubula can relocate components in the AUT even when they are not named by the developers, naming components is nevertheless a good idea. In SWT and RCP there is no method like the Swing setName method to name components in the program code. However, you can improve the testability of your application by using the following method in your SWT or RCP code for the current component class: setData(String key, String ComponentName). For the key, use TEST_COMP_NAME.
Even if you do not name components, you can choose to have Jubula generate unique names for your components in the AUT in the AUT dialog 3.6.