This guide explains how to set up a logic hook in Botium to incorporate partial convos into your test cases.
Note: You must have partial convos previously created to
add them as a logic hook. If no partial convos are available, the dropdown list in step
5 will be empty.
- On the left navigation pane, head to
Botium Tools & Settings > Test Sets > Your Test Set > Test Cases
- Click the + NEW button to add a new Convo, or select a previously created test case from the list.
- Add a new + BOT STEP
- Click the Edit icon, or anywhere inside the step, and search the list for the
'Partial Convo' logic hook.
-
Configure the Logic Hook:
-
Select Convo: Select a partial convo from the dropdown menu. Ensure
that you have previously created partial convos, or the dropdown will be
empty.
-
Select Convo: Select a partial convo from the dropdown menu. Ensure
that you have previously created partial convos, or the dropdown will be
empty.
- Click the APPLY CHANGES button to complete the step entry.
Note:
Example Botium Script:
My Convo
#me
INCLUDE PCONVO_GREETING
Explanation:
-
INCLUDE PCONVO_GREETING
inserts the steps from the partial conversationPCONVO_GREETING
into the current conversation.