测试自动化
概述
利用 Orchestrator 中的测试自动化可以分发和管理测试。在本节中,您将学习如何开始测试自动化,如何执行、计划和管理测试。
You can use the Test Automation feature inside the Testing tab in Orchestrator. By default, the Testing tab appears in Orchestrator after installation.
要使用 Orchestrator 中的测试自动化功能进行大规模测试,您需要 Test Manager 许可证。
先决条件
- To create and execute test automation, you must have the Automation User, and the Robot role assigned.
- 在 Studio 中创建测试用例。
- 将测试用例发布到 Orchestrator 。
入门指南
要开始执行应用程序和 RPA 测试,请按照以下步骤操作:
| 步骤 | 操作 | 描述 |
|---|---|---|
|
1 |
创建并发布测试用例 |
Create a test case in Studio and then publish it to Orchestrator. For more information, see Test Automation Prerequisites |
|
2 |
创建测试集 | |
|
3 |
执行测试 |
您可以从以下选项中进行选择: |
导航和搜索
要快速查找测试项目,请使用搜索功能和筛选器。使用并配置分页器,在页面中导航。您可以按项目筛选测试项目,并选择要在页面上包含的列详细信息。
将测试自动化包上传到 Orchestrator
您可以直接在 Orchestrator 用户界面中上传测试自动化包。导航到 Orchestrator 中的所需租户,然后在其中上传测试自动化包。对于测试自动化包,系统会自动创建相应的流程。不一定要在租户的第一个文件夹中创建此流程,而必须在您访问的最后一个文件夹中创建。自动创建流程是与测试自动化包关联的独特行为。
如果登录 Orchestrator 并导航到第三个文件夹,则您在租户级别上传的任何测试自动化包都会在该文件夹中创建一个相应的流程。除非您访问该租户中的另一个文件夹,否则这第三个文件夹将成为 Orchestrator 用户界面创建任何流程时默认使用的文件夹。
相比之下,当您从 Studio 发布测试自动化包时,系统将在您当前连接的文件夹中创建流程。