您找到的最好的 C# Web 测试工具是什么?
我一直在调查其中的一些。
到目前为止我发现的似乎有用。
风车 硒 Watin
Windmill 看起来已经具备了基础知识(仍然不确定我是否可以用它编写 C# 单元测试)
Watin 的单元测试似乎很棒..
在这 3 个中,Selenium 似乎正在努力成为 3 个中功能最齐全的(最新版本是今天!)
有什么意见或建议吗?
I've been investigating a few of them.
What I have found so far that seems usable.
Windmill
Selenium
Watin
Windmill looks like it has the basics (still not sure if I can write C# unit tests with it)
Watin seems awesome with Unit tests..
of the 3, it looks like Selenium is trying to be the most fully featured af the 3 (most recent version is today!)
any comments or suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Watin
被评为迄今为止最好的。请参阅以下Stackoverflow
帖子测试 ASP.NET 2.0 网页
(C#)?
(WatiN 测试记录器)
网络表单应用程序 ( ASP.NET )
WebControls?
asp.net Web 表单应用程序
Watin
has been voted the best so far. see followingStackoverflow
poststesting for ASP.NET 2.0 web pages
(C#)?
(WatiN Test Recorder)
webforms apps ( ASP.NET )
WebControls?
asp.net web forms application
我们的 QA 团队在我目前正在进行的项目中广泛使用 WatiN。到目前为止,WatiN 对我们来说效果很好 - 我们实际上已经将它连接到我们的持续集成服务器,因此如果 WatiN 运行的任何单元测试失败,构建就会失败。有点不错。此外,没有一个 HTML 元素是您无法使用 WatiN 引用的,因此即使您需要检查的元素没有 ID 或类,您也始终可以通过某种方式获取它。最后,WatiN 执行测试的速度相当快。确实非常好。
我要提到的另一个框架是 WebAii。我个人从未使用过它,但我知道其他一些人非常喜欢它。我认为 API 与 WatiN 类似。
Our QA team is using WatiN quite extensively on the project I'm working on currently. WatiN has worked great for us so far - and we've actually hooked it up to our continuous integration server so the build fails if any of the unit tests that WatiN runs fail. Kind of nice. Further - there isn't an HTML element out there that you can't reference using WatiN, so even if the element you need to inspect doesn't have an ID or a class, you can always get to it some way or another. Finally, WatiN executes tests quite quickly. It really is very nice.
One other framework I will mention is WebAii. I've never used it personally, but I know some other people who like it quite alot. I think the API is similar to WatiN.