Callbacks
Callbacks are user-defined keywords that are automatically executed at various points of the path life cycle.
Types of callbacks
Section titled “Types of callbacks”- On Path End
- It is called at the end of a
path(even if there are errors in the path and the path stops in the middle).
- It is called at the end of a
- On Path Error
- It is called whenever an error occurs in the
path.
- It is called whenever an error occurs in the
- On Path Failure
- It is called whenever an assertion failure occurs in the
path.
- It is called whenever an assertion failure occurs in the
Callbacks Attachment
Section titled “Callbacks Attachment”Project
Section titled “Project”Applied to all paths across all flowcharts in the project.
-
Click on the dropdown arrow to the right of
Runbutton and chooseCallbacks. -
This will open up the
Callbacksdialog.
-
Attach the necessary callbacks keywords in the dialog. Click on
Save.
Flowchart
Section titled “Flowchart”Applied to all paths within a specific flowchart.
-
Click on the dropdown arrow to the right of
Runbutton and chooseCallbacks. -
This will open up the
Callbacksdialog.
-
Attach the necessary callbacks keywords in the dialog. Click on
Save.
Applied to a specific path.
-
In the
Table Viewdialog, navigate to theTruth Table VieworExecution Order, then click on theEditbutton under callbacks column.
-
This will open up the
Callbacksdialog.
-
Attach the necessary callbacks keywords in the dialog. Click on
Save.

