What is the best way to test webforms apps ( ASP.NET )(测试 Web 表单应用程序 (ASP.NET) 的最佳方法是什么)
问题描述
测试我的网络表单应用程序的最佳方法是什么?
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) 的最佳方法是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:测试 Web 表单应用程序 (ASP.NET) 的最佳方法是什么


- 使用 rss + c# 2022-01-01
- Windows 喜欢在 LINUX 中使用 MONO 进行服务开发? 2022-01-01
- CanBeNull和ReSharper-将其用于异步任务? 2022-01-01
- 在 C# 中异步处理项目队列 2022-01-01
- 是否可以在 .Net 3.5 中进行通用控件? 2022-01-01
- 在 LINQ to SQL 中使用 contains() 2022-01-01
- C# 通过连接字符串检索正确的 DbConnection 对象 2022-01-01
- Azure Active Directory 与 MVC,客户端和资源标识同一 2022-01-01
- 带问号的 nvarchar 列结果 2022-01-01
- 为什么 C# 中的堆栈大小正好是 1 MB? 2022-01-01