SAVE QUERY抱怨“基于查询的套件只能包含测试用例。” [英] SAVE QUERY complains "Query-based suites can only contain test cases."

查看:130
本文介绍了SAVE QUERY抱怨“基于查询的套件只能包含测试用例。”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过云(基于Web)使用Visual Studio Team Services创建了一个测试套件查询。查询运行正常,结果正确。但是当我去保存查询时 - 它会抱怨"基于查询的套件只能包含测试用例。所以,添加以下条款:
<工作项类型|在集团| Microsoft.TestCaseCategory>"

I've create a test suite query using Visual Studio Team Services via the cloud (web based). The query runs fine with the correct results. But when I go to SAVE the query - it complains "Query-based suites can only contain test cases. So, add this clause: < Work Item Type | In Group | Microsoft.TestCaseCategory>"

我不知道它在说什么。查询已运行。没关系。为什么我不能保存它?

I don't know what it's talking about. The query ran. It's fine. Why can't I save it?

是的。我删除了此查询的部分并缩小到了到"或"。我无法使用最简单的OR语句保存任何内容(似乎我不允许添加图像来显示我的内容"正文文本不能包含图片或链接
,直到我们能够验证您的帐户") 。

Yes. I've removed pieces of this query and have narrowed to down  to the "OR". I can't save anything with the simplest OR statement (seems I am no allowed to add an image to show you as I get "Body text cannot contain images or links until we are able to verify your account") .

没有图片,有人可以告诉我我做错了什么吗?

Without images, can someone tell me what I'm doing wrong?

 

推荐答案

嗨mebtkleon,

Hi mebtkleon,

运行查询时不验证条件,因此查询工作正常。但是,基于查询的套件只能包含测试用例,测试管理扩展可以验证条件而不是结果,因此您会收到该错误而无法创建测试
套件。

It doesn’t verify the condition when run the query, so the query works fine. However, the query based suites just can contain test case, the Test Management extension verify the condition instead of result, so you get that error and you can’t create test suite.

如果您在MTM中执行此操作,如果在组TestCaseCategory条件中没有工作项类型,则甚至无法运行查询。

If you to do it in MTM, you can’t even run the query if there isn’t Work Item Type In Group TestCaseCategory condition.

问候

Starain


这篇关于SAVE QUERY抱怨“基于查询的套件只能包含测试用例。”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆