First, you have to make Botium accept the long waiting time. The WAITFORBOT is not sufficient to make Botium pause the test case execution, you additional have to set the WAITFORBOTTIMEOUT capability in your botium.json
Second, the test runner (mocha) by default doesnt allow tests running longer than a few seconds. You will have to adapt this as well, see Botium Docs
I need the wait of 2 minutes, I hope below command will work:-
botium-cli emulator browser --convos ./spec/convos --config ./botium_directline.json --timeout 120000
@ujja Hi thanks for the information, I have changed the system setting and ran the below cmd â botium-cli emulator browser --convos ./spec/convos --config ./botium_directline.json --timeout 120000
getting below msg attached the screenshot
I hope now I should be able to wait 2 minutes, to get the bot response. I have used PAUSE as well as WAITFORBOTTIMEOUT , but getting message Bot did not responded within 10s
@ujja Could you please let me know if I have missed any thing in the botium.json file mentioned above?
As well how to set environment variable for BOTIUM_MOCHA_TIMEOUT for 2 minutes ?