有没有什么办法来自动化窗户形式的测试? [英] Is there any way to automate windows forms testing?

查看:221
本文介绍了有没有什么办法来自动化窗户形式的测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我熟悉的NUnit的但是我期待我们赢形式的图形用户界面层的测试自动化业务层的单元测试。

I am familiar with nunit for unit testing of the business layer however I am looking now to automate the test of the win forms gui layer.

我看到华廷和华廷记录仪通过访问控制和自动化他们的自动化Web应用程序的测试。但是我在努力寻找华廷相当于Windows窗体(用C#或vb.net)preferably这是开源的。

I have seen watin and the watin recorder for automating tests on web application by accessing the controls and automating them. However I am struggling to find a watin equivalent for windows forms (written in c# or vb.net) preferably that is open source.

做一件存在或基于记录鼠标和键盘presses所有的产品?

Does one exist or are all products based on recording mouse and keyboard presses?

更新:我已经看过这个的白色博客文章,这似乎是我找的那类事情。博客文章提出了一些问题,但白仅在0.6版本,这些可能会得到解决。有兴趣,如果其他人使用白色或任何其他人进行比较。

Update: I have looked at this blog post on white and it seems the sort of thing I am looking for. The blog post raises some issues but as white is only in version 0.6 these may be resolved. Be interested if others have used white or any others for comparison.

推荐答案

查看 HTTP://www.$c$cplex .COM /白 http://nunitforms.sourceforge.net/ 。我们使用了白色项目的成功。

Check out http://www.codeplex.com/white and http://nunitforms.sourceforge.net/. We've used the White project with success.

相同的答案为previous问题

这篇关于有没有什么办法来自动化窗户形式的测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆