This is about validating the proactive message of chatbot through botium. If we are in some workflow and chatbot is expecting some input through user side, and user has responded within 1 min. Then chatbot will send the proactive message. So I need to validate the proactive messages through botium.
Suppose I am in ticket creation flow, ticket creation form is opened. And user not responded within 1 min then it will send the proactive message.
Tried the below steps but got failed.
Please find the below convo
#me
Cancel
#bot
OK. Thank you.
#me
Create a ticket
#bot
OK, Letâs create an IT support request.
#bot
Please provide all required details
CARDS Please provide all required details
FORMS Title|Description|How urgent is your need?
BUTTONS Next|Cancel
#bot
WAITFORBOT 60000
Iâm waiting for your response. (This message needs to be validated)
Getting below error:-
Error: Proactive Messages/Line 22: error waiting for bot - Bot did not respond within 10s
########################################
Proactive Messages/Line 22: error waiting for bot - Bot did not respond within 10s
------------ TRANSCRIPT ----------------------------
#me: Cancel
#bot: OK. Thank you.
#me: Create a ticket
#bot: OK, Letâs create an IT support request.
#bot: Please provide all required details
CARD(Please provide all required details)
BUTTON(Next | {âactionâ:âNextâ})
BUTTON(Cancel | {âactionâ:âCancelâ})
FORM(summary | Title)
FORM(description | Description)
FORM(priority | How urgent is your need?)
at BotiumBindings.wrapBotiumError (node_modules\botium-bindings\src\BotiumBindings.js:77:14)
at C:\botium\node_modules\botium-bindings\src\BotiumBindings.js:134:33
Please help to resolve this.