What you can test

Any interaction a user would normally do on an application can be automatically tested by the Genero Ghost Client.

Functions that perform actions can be tested once to see if they work as expected. You can then run them at any time during development to continually verify that changes to the application do not affect previously tested features.

For testing purposes it may be helpful to focus on building tests that fall into two categories: introspecting the application AUI tree or executing events (user actions).

Introspecting the application AUI tree

These are some examples of introspecting the AUI tree:
  • List available menu actions
  • List available fields
  • Get value of a given field
  • Get the field that has the focus

Executing a user action

These are some examples of executing a user action:
  • Send an action
  • Input a value in a field
  • Scroll through a table
  • Open a tree view node

While most user actions are supported by the Genero Ghost Client (GCC), there are features that are not supported. See the Limitations topic.