Reuse of Command Sequences from the Test Table Editor

Question:

I have has some sequences of commands that I want to implement in Test Table Editor and these will be used often in different test cases, so I would like for these command sequences to be reusable, e.g. in the Test Diagram Editor. E.g. a sequence of [Set], [Wait], [Check] could be grouped together and then reused as a sequence in Test Diagram Editor.

Answer:

Define a (reusable) function within a Test Table file (in the lower left view) and set the property Export to true. Now the function can be used within all Test Table and Test Diagram files in the same test unit.

Note:

See test unit "ReusableTestDefinitionsā€ in the delivered demo "TechnicalReference".



Article ID: 509
Last updated: 2020-04-30
Revision: 3
vTESTstudio -> Test Diagram Editor -> Reuse of Command Sequences from the Test Table Editor
https://kb.vector.com/entry/509/