TestPlan exec
Document

exec

by Group Public on Thursday July 10 2008 @ 14:47:58 (1/1 Points)

Language ↪Reference ✑ Reply ✓ Stick It ✗ Ditch It ⚐ Tag It

exec is similar to call except the called unit is executed in a new Logical Root. This effectively isolates this unit from the calling test.

exec unitname

UnitName is an absolute or relative name.

This is intended to be used in outermost test suites, where several individual tests are called, or further test suites.

Options

It is also possible to call the ChildExec unit and pass additional parameters.

call unit.func.ChildExec
  %Unit% unitToExec
  %Name% Logical Name of the child
end

The return contains %Return:Failed% which indicates if the executed child has failed. Normally exec's failed status is isolated, that is, it does not interrupt the main test, but will be reported on exit. The return value can be used in cases where you need to inspect the failure status.

© 2008-2010 edA-qa mort-ora-y
Using Persephone and TestPlan
Tag: