Windows 窗体测试自动化 [英] Windows Forms Test Automation

查看:40
本文介绍了Windows 窗体测试自动化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在寻找一种方法来自动化 Windows 窗体以进行验收测试.我们的要求是:

We are looking for a way to automate windows forms for acceptance testing. Our requirements are:

  • 必须可供非开发人员使用(即:未安装开发环境的人员)
  • 必须有录音机
  • 必须支持第三方控件
  • 必须具备基本功能(允许点击按钮、输入文本、验证结果、必要时可跨多个窗口)
  • Must be usable by non-developers (ie: people with no development environment installed)
  • Must have a recorder
  • Must support third-party controls
  • Must have basic functionality (allow clicking on buttons, inputing text, validating results, accros multiple windows if necessary)

基本上,类似于 Selenium,但适用于 Windows 窗体.

Basically, something like Selenium, but for windows forms.

推荐答案

就其价值而言,我已经进行了 15 年的测试,直到今天还从未见过以这种方式创建的测试的 ROI.自动化测试显然是一件好事,但是如果您只是采用应该是手动测试用例的测试用例并让最低工资的工人自动化"它们,那么您几乎总是会得到大量无法维护的脆弱测试,这些测试不会节省时间最终被迅速赶出去.

For what it's worth, I've been testing for 15 years, and to this day have never seen ROI on tests created in this fashion. Automated testing, is obviously a good thing, but if you are just taking test cases that should be manual test cases and having minimum wage workers "automate" them, you will almost always end up with a mass of unmaintainable fragile tests that save no time in the end and get thrown out quickly.

paiNie 的 FitNesse 建议是一个很好的建议.

The FitNesse suggestion from paiNie is a great suggestion.

这篇关于Windows 窗体测试自动化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆