您找到的最好的 C# Web 测试工具是什么?

发布于 2024-08-22 08:24:12 字数 218 浏览 4 评论 0原文

我一直在调查其中的一些。

到目前为止我发现的似乎有用。

风车 硒 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

陌伤ぢ 2024-08-29 08:24:12

我们的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文