Installation to Botium is very similar to Botium Asserters.
For information about installing Asserters, see Botium Asserters.
Usage in BotiumScript
The magic word for a logic hook can be used in BotiumScript. In this sample, the logic hook SET_SCRIPTING_MEMORY is used with two parameters:
#me
SET_SCRIPTING_MEMORY orderNum|111
For more information see Botium Docs
Usage in Botium
In the Botium Convo Editor, logic hooks can be added to the conversation steps.
-
Navigate to to Test Cases section in the test set
-
In the convo editor, click the conversation step to open up the convo step editor
-
Scroll down to the Add Logic Hook section to bring up the selection list of the available logic hooks.
-
Fill in the parameters for the logic hook if required
That’s it, now the logic hook is part of your test script. Click the Open in Source Editor button to show the BotiumScript for your test case.
Comments
0 comments
Please sign in to leave a comment.