- 入门指南
- 项目管理
- 项目操作和实用程序
- Test Manager 设置
- ALM 工具集成
- ALM 工具集成
- 已连接 Test Manager
- Test Manager - Integration Service 连接器
- 连接器的出站 IP 范围
- 使用 SAP Cloud ALM 和 Test Manager
- Step 1: Integrating SAP Cloud ALM with Test Manager
- Step 2: Creating automated test cases in SAP Cloud ALM
- Step 3: Creating automated test cases in Test Manager
- Step 4: Synchronizing test cases from Test Manager to SAP Cloud ALM
- Step 5: Assigning test automations to test cases
- Step 6: Executing test cases
- SAP 测试自动化最佳实践
- 对 Jira 集成进行故障排除
- API 集成
- 用于测试的编码智能体
- 故障排除
手动执行测试时截取屏幕截图
Capture screenshots of an application during manual test execution and view them as attachments on the test case log.
Record what an application shows at a specific test step by sharing your screen, a window, or a browser tab from the manual execution assistant. Screenshots then appear in the test case log.
步骤
-
导航至项目的“测试集”部分,然后打开手动测试集。
-
选择“执行” > “手动” 。手动执行助理将打开,显示第一个准备执行的手动测试用例。
-
开始手动执行测试。
-
当您到达要截取应用程序屏幕截图的测试步骤时,请转到“更多选项” > “捕获屏幕” 。选择要共享的内容https://cloud.uipath.com/portal_窗口将出现,其中提供以下捕获选项(适用于大多数浏览器):
- 整个屏幕:此选项会截取所需活动屏幕的屏幕截图。
- “窗口” :此选项会截取所需应用程序窗口的屏幕截图。
- <Browser> Tab: This option takes a screenshot of a certain browser tab, such as Chrome, for example. The name varies based on the browser in use.
备注:
捕获窗口或浏览器选项卡的屏幕截图时,该选项卡或窗口将获得焦点。要继续执行手动测试,您必须手动返回到手动执行助理。此步骤是因为存在浏览器的安全限制。
Figure 1. Capturing a screenshot in the Choose what to share window
-
选择要捕获的元素后,选择“共享” 。您捕获的屏幕截图现在在测试步骤中显示为预览。
备注:If a screenshot of any window or tab other than Test Manager is captured, that window or tab becomes the main focus. To proceed with the manual execution after taking the screenshot, you need to manually navigate back to the manual execution assistant.
-
Optionally, select View within the test step to check the preview.
Figure 2. The preview of the screenshot inside the manual execution assistant
结果
After completing the manual test execution, open the log of the test case where screenshots were captured. The screenshots appear under the Attachments column.
Figure 3. The test case log displaying the screenshot as an attachment
您还可以在执行期间将在剪贴板中复制的任何图像粘贴到手动测试步骤中,以添加该图像。