Automated tests 不能在Botium Watson Assistant测试中使用#include包含部分对话

Automated tests 不能在Botium Watson Assistant测试中使用#include包含部分对话,automated-tests,chatbot,Automated Tests,Chatbot,我尝试使用#include语法包含一个部分对话文件 我想使用很多部分对话,不仅在开始/结束时,而且在对话中间。哪个是正确的语法 错误: context: { err: Error: Failed to parse conversation. Section "include" unknown. at linesToConvoStep (/Users/afreed/Code/workspace/my-botium-project/node_modul

我尝试使用
#include
语法包含一个部分对话文件

我想使用很多部分对话,不仅在开始/结束时,而且在对话中间。哪个是正确的语法

错误:

  context: {
    err: Error: Failed to parse conversation. Section "include" unknown.
        at linesToConvoStep (/Users/afreed/Code/workspace/my-botium-project/node_modules/botium-core/src/scripting/helper.js:76:38)
        at parseMsg (/Users/afreed/Code/workspace/my-botium-project/node_modules/botium-core/src/scripting/CompilerTxt.js:69:14)
        at pushPrev (/Users/afreed/Code/workspace/my-botium-project/node_modules/botium-core/src/scripting/CompilerTxt.js:79:34)
        at /Users/afreed/Code/workspace/my-botium-project/node_modules/botium-core/src/scripting/CompilerTxt.js:93:9
        at Array.forEach (<anonymous>)
        at CompilerTxt._compileConvo (/Users/afreed/Code/workspace/my-botium-project/node_modules/botium-core/src/scripting/CompilerTxt.js:89:11)
        at CompilerTxt.Compile (/Users/afreed/Code/workspace/my-botium-project/node_modules/botium-core/src/scripting/CompilerTxt.js:43:19)
        at ScriptingProvider.Compile (/Users/afreed/Code/workspace/my-botium-project/node_modules/botium-core/src/scripting/ScriptingProvider.js:407:21)
        at ScriptingProvider.ReadScript (/Users/afreed/Code/workspace/my-botium-project/node_modules/botium-core/src/scripting/ScriptingProvider.js:493:27)
        at /Users/afreed/Code/workspace/my-botium-project/node_modules/botium-core/src/scripting/ScriptingProvider.js:452:71,
    message: `ReadScript - an error occurred at 'immediate-pound-out_with_partial.convo.txt' file: Failed to parse conversation. Section "include" unknown.`
  }
如果我用以下内容替换
#include SECOND-STRIKE
,它会起作用。(这似乎有些奇怪——有效地定义了两次
#bot
部分。)

部分车队文件
second strike.pconvo.txt

immediate pound out, templated second strike

#bot
Hi, how can I help you?

#me
0
UPDATE_CUSTOM SET_WATSON_CONTEXT|vgwIsDTMF|"Yes"

#bot
I can't handle DTMF here

#me
0
UPDATE_CUSTOM SET_WATSON_CONTEXT|vgwIsDTMF|"Yes"

#include SECOND-STRIKE

#bot
Please hold while I transfer you
SECOND-STRIKE

#bot
I still didn't understand. 

发现了这一点,在会话的中间添加不明确的部分是不清楚的。

< P>语法只包含在最新版本1.11.2中,请检查您的BoIP核心版本

完美地工作,谢谢!
SECOND-STRIKE

#bot
I still didn't understand.