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


- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- 输入按键事件处理程序 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- 如何用自己压缩一个 IEnumerable 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01
- MoreLinq maxBy vs LINQ max + where 2022-01-01