- 入门指南
- 项目管理
- 项目操作和实用程序
- Test Manager 设置
- ALM 工具集成
- API 集成
- 故障排除
Test Manager 用户指南
添加手动步骤以定义需要按顺序执行的操作,例如简单的用户交互或包含由测试人员执行的验证操作。
向测试用例添加手动步骤
您最多可以向手动测试用例添加 250 个测试步骤。要向测试用例添加手动步骤,请执行以下步骤:
- 在 Test Manager 中打开项目。如果您还没有项目,请参阅创建项目。
- 在左侧导航面板中,转到“测试用例”。
- 单击测试用例键以将其打开。
- 转到“手动步骤”,然后单击一个步骤以展开面板。
- 配置以下步骤详细信息:
- 前置条件(可选):列出在测试开始之前必须执行的任务。这不属于测试用例工作流,但您必须在开始实际步骤之前完成这些任务。
- 说明:添加简明扼要的说明。
- 预期行为:您可以说明某些事情是否会发生或得到验证(例如
VAT is displayed as 32.44)。 - Clipboard data: You can define a Clipboard value so you do not have to manually type into the input fields. For a specific use case scenario, see Copying Clipboard Values
(For Cloud Commercial and Cloud Public Sector only) The character limit for the Clipboard data field is 8000 characters.
. :::note * Consider adding a single action for each step. * To duplicate, delete and reposition the steps, click the vertical ellipsis on a step and choose an action from the dropdown list. :::
图 1.向具有前置条件和后置条件的手动测试用例添加步骤

- 后置条件(可选) :执行测试用例后指定应用程序的预期状态。
The postcondition is part of the test case workflow. The manual tester has to confirm whether or not the postcondition has been fulfilled. 6. Select New test step to add multiple steps to your test case. The steps details are saved automatically.
复制剪贴板值
将步骤添加到测试用例时,可以输入任何字符串值(例如{CLIPBOARD} )输入到剪贴板数据字段中。

在此期间,将弹出一个窗口,显示测试用例的执行步骤。字符串值已替换为“剪贴板数据值”并放置在 Windows 剪贴板中。

设置测试执行结果
手动执行测试用例时,可以将结果设置为“失败”或“通过”。对于包含多个步骤的测试用例,您可以通过为所有步骤选择“设置失败”、“设置通过”或“设置至此为止通过”来设置各个步骤的结果。要留下注释,请使用测试者注释部分。

调试
您可以通过打开测试用例并导航到“任务”>“调试”来调试手动测试用例,以设置每个步骤的结果。