Testing your rich client project
Begin on the Welcome page. If the Welcome to HATS page is not displayed, click the Welcome to HATS tab at the top of the editor pane.
- In the HATS Projects view on the left side of the screen, select the name of the rich client project you just created.
- On the Welcome page, click Debug.
- You are given the option to see the display terminal while running the project. Click Yes to see the host screens as they are navigated while you test your project.
- The Debug window opens, where you can create, manage, and run configurations. For HATS projects with a target platform of Eclipse RCP, HATS provides a default Eclipse Application configuration named hostaccess that you can use. Click Debug to complete the process.
Rational® SDP launches an instance of the Eclipse RCP runtime environment to run your project on your local system. When you test your project, you are using a copy of the Eclipse RCP that is embedded in Rational® SDP. This environment is also called the local test environment.
When the runtime environment is launched, the Host Access perspective is displayed which contains an Applications view on the left. Your HATS application is listed in this view. To launch the application, right-click and select Open.
When you open your HATS application it displays in the transformation view. In the transformation view
you see the toolbar, template, and transformation areas.
- The toolbar contains buttons for application-level actions as well as buttons for actions contributed by the toolbar widget.
- The template provides the overall appearance of the application. It typically remains the same for all, or most of, the pages in your application, giving your users a consistent appearance.
- The transformation area presents the transformed host application. The content of the transformation area is different on each page in the application.