c# - 使用 C# 自动化 GUI 测试

标签 c# testing automated-tests gui-testing

我正在做一个项目,为 .NET 中的图形应用程序构建自动 GUI 测试。我将使用 C#,但我正在尝试阅读以获取一些想法。但是我不知道如何录制和重放。那么你能告诉我你的想法吗。

最佳答案

这是 visual studio 团队的一篇博客,讨论了这个确切的主题。这是关于他们如何测试 pre-wpf 和 post-wpf。

This post covers an overview of techniques that we used to create and maintain automated user interface regression tests for Visual Studio. Regression tests are a type of software test that, collectively, aim to be an oracle of expected functionality for the target application, run often against new builds of product – they aim to uncover regressions in behavior introduced in a new build.

Visual Studio Blog

关于c# - 使用 C# 自动化 GUI 测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2554924/

相关文章:

c# - 将 C# Web 服务参数传递给 PHP 应用程序

c# - 使用 lambda 表达式以通用形式更新表记录

javascript - 当我模拟后端时 View 不加载

selenium webdriver 有没有其他方法可以在不使用 "findElements()"方法的情况下找出网页中存在的网络元素的数量?

testing - 功能自动化测试值得付出努力吗?

javascript - 如何绕过混合内容错误 (http/https)

testing - JMeter HTTP 请求失败

c# - Entity Framework 在更新实体时表示属性为空

c# - 使用 Winform 更新 WPF 文本框用户控件中的文本

android - 如何在没有 IdlingResource 的情况下在 Espresso 中等待异步任务