- 入门指南
- 项目管理
- 项目操作和实用程序
- Test Manager 设置
- ALM 工具集成
- API 集成
- 故障排除
Test Manager 用户指南
Within a test set, you can automatically execute test cases only from a default or selected Orchestrator folder (also known as the Execution folder). You can specify an execution folder either at project level or at test-set level. If you specify an execution folder at both levels, the test-set level folder overrides the project-level folder. If you specify an execution folder only at project level, the test-set level folder inherits the project-level folder.
如果要执行文件夹中特定包和版本中的测试用例,可以选择包及其相应版本。此外,您还可以设置可以执行测试集的特定用户或机器人帐户。
Tenants which have the Allow legacy execution context setting enabled can still perform automated test execution without specifying an execution folder. However, this type of execution will be deprecated soon. To continue working, you must specify an execution folder either at project level or at test-set level, as described in the current topic. We recommend executing your tests using specific execution folders.
先决条件
You can configure the execution of a test set for a specific Orchestrator folder, and robot account, only if the Allow legacy execution context tenant setting is toggled off. For more information about the setting, visit Tenant level settings.
选择执行文件夹和帐户
To specify an execution folder at project level, follow the steps in the Automation project configuration – Assigning a default folder topic.
要在测试集级别指定执行文件夹,请执行以下步骤:
- 转到“测试集” ,然后选择要配置的测试集。
- In the Test Cases tab, select Configure Automation.
- 从“执行文件夹”下拉列表中,选择您想要的文件夹。
备注:
此选项将使用所选文件夹中可用的机器人帐户填充“选择机器人”下拉列表。
If you do not want to select a specific folder, opt for None, which will use the Default folder of the tenant, if it exists. 4. From the Select Robot dropdown list, choose a robot account. The default value is Any User/Robot account, which allows you to execute the test set using any robot available in the selected folder. 5. Select Save to confirm the selection.
选择特定包和版本
除了执行文件夹和机器人帐户外,您还可以选择要从中运行测试用例的特定包和版本。 要选择特定的包和版本,请执行以下步骤:
- 导航到“测试集”并打开测试集。
- 转到“测试用例”选项卡。
- Select Configure Automation.
- 要定义包和版本,可以使用以下选项:
- 自动选择包:根据分配给测试集的测试用例,自动选择位于执行文件夹中的所有包及其最新版本。
- 添加自动化: 允许您手动选择所需的包和相应的版本。请执行以下步骤:
- 从“包”下拉列表中,选择一个包。
- 从“版本”下拉列表中,选择该包的版本。
- 使用“选择”完成选择。对要添加到测试集的每个包重复先前的步骤。
图 1.显示“选定的自动化”菜单,其中说明了特定测试集的所选执行文件夹和机器人帐户、关联的包及其各自的版本

选择特定主机
选择一台主机,以强制执行测试集中的所有测试用例。如果主机不可用,执行将等待,然后超时。
This feature is available in Test Manager only when delivered through Test Cloud.
- Navigate to Test Sets and open a test set. Select Save to confirm the selection
- 转到“测试用例”选项卡。
- Select Configure Automation.
- 选择一个 Orchestrator 执行文件夹。
- Under Runtime type, select one of the options, depending on your license type: Testing, App Testing, Cloud – Serverless Testing, Cloud – Serverless, Cloud – VM Testing, Cloud – VM.
- Under Robot account, select a robot account. The default value is Any User/Robot account, which allows you to execute the test set using any robot available in the selected folder.
- Under Machine template, select Any Machine or a specific machine template. The Host Machine field becomes available.
- Under Host Machine, select Any Connected Machine or a specific host machine.
- (可选)选择或定义包和版本。
- 选择“保存”以确认选择。