One may use a variation of the 'include' directive anywhere in Rapise. There are a number of ways to deal with common functionality.

  1. One may store utility functions in a single javascript file and include this file into all his tests.
    See the including other files help topic.

  2. It is possible to share common objects and utility functions between tests using the notion of sub-tests.
    See the tests and sub-tests help topic.

  3. It is possible to call one test from another test using Global.DoInvokeTest function.