有没有什么办法来自动化窗户形式的测试?有没有什么、窗户、形式、办法

2023-09-02 20:45:32 作者:跟寂寞 和好

我熟悉的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问题的