问题描述
测试我的网络表单应用程序的最佳方法是什么?
What is the best way to test my webforms applications?
看起来人们喜欢 Watin 和硒.
Looks like people are loving Watin, and selenium.
推荐答案
更新:鉴于 WatiN 已经停滞了一年多,我会指导任何需要 web ui 测试的人selenium,它在持续使用中&由许多贡献者开发,并被 Google 积极使用.
UPDATE: Given WatiN has been stagnant for over a year now, I would direct anyone that needs web ui tests towards selenium, it is in continuous use & development by many contributors, and is actively used by Google.
WatiN 是我找到的最好的.它集成到 Visual Studio 单元测试或 nunit &您几乎可以在浏览器中做任何您需要的事情(点击链接、提交表单、查找文本/图像等)
WatiN is the best that I've found. It integrates into Visual Studio unit testing or nunit & you can do pretty much anything you need in the browser (click links, submit forms, look for text/images, etc.)
请参阅以下问题以获得类似答案:
See the following questions for similar answers:
- 对 ASP 网页 (C#) 进行单元测试的最佳方法是什么?
- .Net 的 Web 应用程序测试(watin 测试记录器)一个>
- 如何您是否以编程方式填写表单并发布"网页?
这篇关于测试 Web 表单应用程序 (ASP.NET) 的最佳方法是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!