问题描述
测试我的网络表单应用程序的最佳方法是什么?
What is the best way to test my webforms applications?
看起来人们喜欢 Watin 和 selenium.
Looks like people are loving Watin, and selenium.
推荐答案
UPDATE:鉴于 WatiN 已经停滞一年多了,我会指导任何需要 Web ui 测试的人硒,它在持续使用中&由许多贡献者开发,并被 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 网络应用测试(watin 测试记录器)一个>
- 如何您是否以编程方式填写表单并发布"网页?
这篇关于测试 webforms 应用程序的最佳方法是什么 (ASP.NET)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!