使用C#+ WebDriver + NUnit记录测试截屏

时间:2014-12-23 14:58:49

标签: c# selenium-webdriver nunit

我使用C#(Visual Studio)+ WebDriver + NUnit为Web应用程序编写UI测试。 有人可以推荐我一种方法来记录测试截屏除了Microsoft Expression Encoder 4 “?

2 个答案:

答案 0 :(得分:0)

两者

rylstim:http://www.sketchman-studio.com/rylstim-screen-recorder/

和camStudio:http://camstudio.org/

是免费且易于使用的工具来记录屏幕。根据您需要的自动化程度,我还使用AutoHotkey来启动此类外部工具,因为我发现API比尝试使用NUnit发送击键要强大得多,但这可能比您需要的更复杂。

答案 1 :(得分:0)

用AForge.Video + AForge.Video.FFMPEG

解决了