Recommended
The recommended way is to create a framework and define a module.
There is also a number of legacy ways.
Legacy
There are a number of ways to deal with common functionality.
- 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.
- 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.
- It is possible to call one test from another test using Global.DoInvokeTest function.