我已经安装了OpenTest,并希望启动一个新的会话。
我该怎么做?
我试着在Google上搜索这个,但是只找到了一个关于使用API的公关。
发布于 2018-12-21 22:02:50
启动测试会话有三种方法:
Session / Create Test Session...菜单选项,然后选择要运行的测试,根据需要填写其他测试会话属性,然后单击Create Session按钮。Session / Create Session From Template...template属性。模式细节这里。
示例API调用:
POST http://localhost:3000/api/session
{
"environment": "prod",
"sessionLabel": "Run smoke tests",
"tests": [
{
"path": ".",
"name": "Smoke test 1"
},
{
"path": ".",
"name": "Web test 2"
}
]
}发布于 2018-11-19 04:26:44
https://stackoverflow.com/questions/53368311
复制相似问题