编码用户界面:带有失败测试方法屏幕截图的Html报告。 [英] Coded UI: Html Report with screenshot for failed test methods.
问题描述
我在论坛中发现了一篇非常好的帖子,让我开始为编码的ui创建Html报告测试方法执行。
与帖子不同,我将为n提供相同的报告。测试方法的执行,并将调用appendAllText方法来追加结果。然而 我无法弄清楚如何在html报告中获取失败的testmethods的截图。
有没有办法做到这一点?
谢谢你看看。
谢谢&问候,
Ahetejazahmad Khan。
朋友,
请确保您已启用日志记录。
此
使用编码的UI测试日志分析编码的UI测试页面给出了设置的具体步骤。
问候,
Fletcher
Hi,
I found a very good post in the forum to get me started with Html Report creation for coded ui test method executions.
Unlike the post I will have same report for n. of test method execution and will call appendAllText method to append the results. However I am unable to figure out how I shall get the screenshot of failed testmethods in the html report.
Is there a way to do it?
Thanks for having a look.
Thanks & Regards,
Ahetejazahmad Khan.
Hi friend,
Please make sure you've enabled logging.
This Analyzing Coded UI Tests Using Coded UI Test Logs page gives the specific steps for the setting.
Regards,
Fletcher
这篇关于编码用户界面:带有失败测试方法屏幕截图的Html报告。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!