Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Selenium TFS 2015构建-运行功能测试-无法获取durationInMs字段_Selenium_Tfs_Azure Devops_Tfsbuild_Functional Testing - Fatal编程技术网

Selenium TFS 2015构建-运行功能测试-无法获取durationInMs字段

Selenium TFS 2015构建-运行功能测试-无法获取durationInMs字段,selenium,tfs,azure-devops,tfsbuild,functional-testing,Selenium,Tfs,Azure Devops,Tfsbuild,Functional Testing,使用TFS 2015启动的构建中的步骤“运行功能测试”以以下错误消息结束: DistributedTests: Test run is aborted. Logging details of the run logs. DistributedTests: Une nouvelle série de tests a été créée. Série de tests mise en file d\'attente pour Project Collection Build Service (TEA

使用TFS 2015启动的构建中的步骤“运行功能测试”以以下错误消息结束:

DistributedTests: Test run is aborted. Logging details of the run logs.
DistributedTests: Une nouvelle série de tests a été créée.
Série de tests mise en file d\'attente pour Project Collection Build Service (TEAM FOUNDATION).
DistributedTests: Test discovery started.
DistributedTests: Test Run Discovery Completed . Test run id : 14886
DistributedTests: 2 test cases discovered.
DistributedTests: Test execution started. Test run id : 14886
DistributedTests: UnExpected error occured during test execution. Try again.
DistributedTests: Error : Une ou plusieurs erreurs se sont produites.--->Failed to obtain durationInMs field.
DistributedTests: Test run aborted. Test run id: 14886
有什么好办法吗

  • 上存在已知问题,请检查您是否没有以下问题:
  • 如果TFS/生成代理是更新1,但测试代理高于更新1即更新2,则系统将抛出“未能获取durationInMs”错误。原因是我们在Test Agent 2015 Update 2和TFS 2015 Update 2中对DurationNMS进行了更改,因此Test Agent 2015 Update 2和更高版本与较低版本的TFS不向后兼容

  • 此外,从相关问题和似乎原因都可以看出,该系统是法语的
    请将system.debug变量设置为true以重新生成,如果有更详细的错误日志?还要在测试中心页面下查找测试运行,并查找是否有错误消息?顺便问一下,你能用英语发布日志吗?这里没有system.debug=true的更多详细信息,测试页面上也没有。