【问题标题】:Please recommend opensource automation tool for windows form based application testing [closed]请推荐用于基于 Windows 窗体的应用程序测试的开源自动化工具 [关闭]
【发布时间】:2011-09-17 02:17:43
【问题描述】:

我正在寻找一种开源工具,用于在 windows 7 中对我的 windows 窗体应用程序进行自动化测试。

【问题讨论】:

  • 需要类似 selenium 的东西,与运行中的应用程序 GUI 交互

标签: visual-studio-2010 testing windows-7 automation


【解决方案1】:

如果您需要 GUI 测试,请手动连接到 gui 并为其创建自己的“点击器”和“输入器”。使其尽可能简单,以避免在该代码中产生错误。然后,您可以从 Nunit 调用它。

【讨论】:

    【解决方案2】:

    我个人使用http://nunitforms.sourceforge.net/ NUnitForms。它是古老的 NUnit 框架的扩展,并支持 Visual Studio。 Visual Studio 有很多插件可以帮助管理你的测试。我使用 JetBrains Resharper http://www.jetbrains.com/resharper/ 来解决问题。您也可以只使用内置功能并从 NUnit 本身运行测试。

    希望这会有所帮助,

    杰弗里·凯文·普瑞

    【讨论】:

      猜你喜欢
      • 2011-02-06
      • 1970-01-01
      • 2012-05-01
      • 1970-01-01
      • 2011-10-20
      • 1970-01-01
      • 2013-04-21
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多