Aggregation

A test case can invoke another test case or a test script. A test script cannot invoke any script.

This table shows how the current company of the invoked test is determined:

Invocation type Description
Invocation of test script The current company is inherited from the caller, that is, runs in the same company.
Invocation of test case If no company is provided for the invoked test, the current company is inherited from the caller, that is, runs in the same company.

If a company is provided for the invoked test, the current company is set to that provided company.

Note: 
  • Within the context of a test, you can change the current company through the ChangeCompany action.
  • When the invoked test finishes, and control returns to the caller, any changes to the current company are not propagated to the caller. The current company of the caller remains unchanged.