Load another test plan at runtime?

I want to create a test step that loads a different test plan at runtime. The TreeView in PathWave should also display the new TestSteps.

  • Is this possible or why isn’t it possible?

I have a lot of use cases and urgently need this logic:

For example, when a new order is scanned (order ≠ previous order), I want to set up the new test plan and execute it directly, etc.

  • What’s the best way to implement this?
  • Do I need a nested structure of multiple sequences?

Hi @fauser,

Loading a new test plan as part of the test plan execution itself is not supported. For this kind of use case it is recommended to create a custom operator panel. You can check out an example here: GitHub - opentap/operator-panel: Operator UI Example Project.

You could also have a test plan with sub-sequences for each type of device, maybe using test plan reference and then skip parts of the plan conditionally, depending on the loaded device.