This section lists up several kinds of testing methods to validate behaviour functions of web UI of Tadpole. Please refer the UI Guideline that explains policies to construct consistent pages over all Tadpole features.
Tadpole includes various UI components such as button, text field, table, and message dialog supporting from Eclipse RAP Platform (Eclipse RAP 3.0).
In order to test functionality of web elements, test code shall be able to handle followings.
...
DOM access via a JQuery-like
$
functionimplements the page pattern: http://martinfowler.com/bliki/PageObject.html
support for modularization of certain web components (e.g. menu-bars, etc.) with modules
integration with JavaScript via the JS variable
Running example code
1. Install eclipse plugin: search "Gradle" at Eclipse Marketplace and install the Gradle IDE.
...