windows 用于 QA 测试的自动输入工具?回放击键和鼠标点击
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1134719/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Automated input tool to for QA testing? Play back keystrokes and mouse clicks
提问by Tony_Henrich
Every time I test my program, I have to input a bunch of the same keystrokes and mouse clicks.
每次我测试我的程序时,我都必须输入一堆相同的按键和鼠标点击。
I am looking for a tool to automate this keyboard and mouse input. Similar to a macro recorder.
我正在寻找一种工具来自动执行此键盘和鼠标输入。类似于宏记录器。
The tool needs to save the clicks and keystrokes I originally input.
该工具需要保存我最初输入的点击和击键。
When I want to QA my app, I will hit a keyboard shortcut and the mouse and keyboard inputs will be played back into the system again and again.
当我想对我的应用程序进行 QA 时,我会点击键盘快捷键,鼠标和键盘输入将一次又一次地回放到系统中。
Is this a known type of QA testing? If so, what is it called? Who are the market leaders and are there any free versions available?
这是已知类型的 QA 测试吗?如果有,它叫什么?谁是市场领导者,是否有免费版本?
采纳答案by Jon Onstott
回答by RichieHindle
AutoHotkeyis good for this. It's free, and can do lots of stuff from simple recording to complex macros.
AutoHotkey对此很有用。它是免费的,可以做很多事情,从简单的录音到复杂的宏。
回答by Robert McIntyre
http://www.macro-recorder.com/
http://www.macro-recorder.com/
This works very well for me. Even though it does cost some money to register, the demo version has full functionality with no constraints (as far as I know). It converts your mouse and keystrokes into editable text files which are really convenient.
这对我来说非常有效。尽管注册确实要花一些钱,但演示版具有完整的功能,没有任何限制(据我所知)。它将您的鼠标和按键转换为可编辑的文本文件,非常方便。
回答by Sinan ünür
I have used Perl's Win32::GuiTestfor some fun, and also for serious testing. It does not record key strokes.
我使用 Perl 的Win32::GuiTest来获得一些乐趣,也用于认真的测试。它不记录击键。