要求
It is very common to use specialized requirements management tools to manage requirements like user stories, epics, or other artifacts. Test Manager supports the synchronization of requirements from external tools as well as the creation of requirements from within Test Manager. In a Test Manager project, there can be requirements that are synced from external tools as well as requirements that were created in Test Manager.
要快速查找需求,请使用搜索功能和筛选器。使用并配置分页器,在页面中导航。或者,您可以使用面包屑导航在页面之间导航。
-
“筛选器 ” - 您有两个筛选器选项卡可供选择:
- 浏览 - 列出所有要求。
- Updated by me - (predefined) to list only the requirements that have been updated by the current user, running the Test Manager instance.
-
搜索 - 使用搜索栏按关键字、名称或标签查找需求(需要完全匹配搜索词)。
You can use the search bar at the top of the page to look for items across Test Manager (e.g., test sets, test cases).
To create requirements in a Test Manager project:
从外部工具同步需求
In order to keep requirements from external ALM tools in sync with requirements from Test Manager, configure a connection first. Refer to About ALM Tool Connectors to learn how to configure a project to be synchronized with an external ALM tool.
Once a connection is configured properly, any requirement which is created in the external tool is also created in Test Manager. The name and description of those requirements are also kept in sync when changed in the external tool. In Test Manager, these attributes are read-only.
您可以从测试项目中单独导出需求,以便将其重新导入到其他项目中。需求导出流程类似于整体的项目导出流程。请访问导出项目,了解项目如何导出。
请记住,此导出不包括自定义字段定义。
请按照以下步骤导出要求:
- 打开项目,然后导航至“需求”。
- 根据要导出的要求的数量,执行以下步骤之一:
- 要导出单个要求,请为特定要求选择“更多选项”,然后选择“导出”。
- 要导出多个要求,请选择要导出的所有要求,然后选择“导出”。
- 导出准备就绪后,您将收到“项目导出已完成”通知。选择该通知,下载包含已导出的需求的 TMH 文件。
然后,您可以将下载的 TMH 文件导入其他项目,以重新创建所有导出的对象。请访问“导入项目”,了解如何执行导入流程。
Test Manager comes with a Jira connector pre-installed. On your Jira instance, the UiPath® Test Manager for Jira apps needs to be installed from the Atlassian marketplace. See Connecting a Jira Project to learn how to configure Jira and Test Manager to enable synchronization.
Objects are synchronized from Jira to Test Manager under the following circumstances:
- 在 Jira 中创建一个对象,并将 Jira 配置为同步此类对象。
-
更新 Jira 中的对象,并将 Jira 配置为同步此类对象。
备注:If an object is updated in Jira which does not exist in Test Manager, a new requirement will be created in Test Manager.
If an object is deleted in Jira, the synchronized object in the Test Manager will remain. Test Manager never propagates deletions across systems.
对于特定对象,可以立即强制执行同步。 在以下情况下,这可能会有所帮助:
- Objects are out-of-sync for any reason - for example, Test Manager was not available while the Jira object was updated.
- A new Jira connection has been set up in Test Manager and objects which already existed in Jira need to be synced.
要强制同步对象,请执行以下操作:
- 在 Jira 中打开对象。
-
Click Push to Test Manager from the More menu. Synchronization is invoked immediately.
Note: Please note that Test Manager does not perform a sync-all operation after a Jira connection has been set up.
您可以应用筛选条件并将其存储在测试对象的视图中。根据视图的作用域(个人或公共),您可以为用户或项目中的所有用户保留包含筛选条件的视图。
- 测试对象的原生属性(例如“标签”、“更新者”、“来源”等)
- 自定义标签
请按照以下步骤自定义筛选条件和视图:
- 转到所需的测试对象部分(即需求),然后选择“筛选条件”。
- 选择“添加筛选条件”以选择要应用的筛选条件。
选择筛选条件时,还要选择您想要设置的值。
- 选择“应用”以在您的视图中包含筛选条件。
- 要将这些筛选条件另存为视图,请选择“视图”,然后选择“保存视图”。
- 在“保存视图”窗口中,选择使用筛选条件创建“新视图”或“更新现有视图”。
确定是将新视图设为私有,还是将其设置为“公开”以供其他用户访问。
- 选择“保存”以确认更改。
- 要应用您创建的视图,请选择“视图”,然后选择“打开视图”。
- 选择个人视图(“我的视图”)或“公开”视图。
您还可以根据需要,在私有和公开之间更改已创建视图的可见性。
- 选择所需视图,然后选择“打开”以应用。
- 选择个人视图(“我的视图”)或“公开”视图。