开发者

what's the best Web testing tool have you found for C#? [closed]

开发者 https://www.devze.com 2022-12-20 19:17 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. 开发者_运维技巧 Closed 10 years ago.

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?


Watin has been voted the best so far. see following Stackoverflow posts

  • What is the best way to do unit testing for ASP.NET 2.0 web pages (C#)?
  • Web Application Testing for .Net (WatiN Test Recorder)
  • What is the best way to unit test webforms apps ( ASP.NET )
  • ASP.NET - How do you Unit Test WebControls?
  • Adding unit testing to an existing asp.net web forms application


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消