我的问题是如何将INTENT_CONFIDENCE设置为全局断言,而不是将其全部放在会议上。
我在botium.json配置文件中尝试了两种方法,但都不起作用:
在“断言”功能中,我尝试了:
"INTENT_CONFIDENCE": 100 -- I have done the same but with "100"/ "100 %"和
"ref": "INTENT_CONFIDENCE",
"val": "100" 错误看起来像这样
AppData\Roaming\npm\node_modules\botium-cli\node_modules\yargs\yargs.js:1133
else throw err
^
Error: Failed to fetch package botium-asserter-undefined - { Error: Cannot find module 'botium-asserter-undefined'发布于 2019-06-28 19:53:54
这是要使用的JSON配置:
{
"botium": {
"Capabilities": {
...
"ASSERTERS": [
{
"ref": "INTENT_CONFIDENCE",
"src": "IntentConfidenceAsserter",
"global": true,
"args": {
"expectedMinimum": 80
}
}
]
}
}
}https://stackoverflow.com/questions/56797015
复制相似问题