在 Windows Xp 中以编程方式检测 GUI 状态并生成用户输入
我正在寻找一种轻量级的解决方案,它允许我检测应用程序中打开了哪个表单/对话框,然后发出一些击键/鼠标移动和单击。我无法控制该应用程序(也无法控制其源代码)。
我熟悉 MacroMaker,也测试过 SQA / Mercury 等产品提供类似的功能。我最后一次接触这个领域是在 2004 年末,我欢迎任何指示来更新我的知识。
I am looking for a lightweight solution that would allow me to detect which form/ dialog is open in an application, then emit some keystrokes / mouse moves and clicks. I do not have control over (nor the source-code for) the application.
I am familiar with MacroMaker, also testing products like SQA / Mercury offer similar functionality. The last time I had hands on exposure in this are is late 2004, I welcome any pointers to bring my knowledge up to date.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
AutoIt 是一个历史悠久的 Windows 脚本编写环境。它非常易于使用且灵活,可以执行诸如检测打开的窗口或对话框、更改为另一个窗口或键入内容等操作。我绝对会推荐它。
AutoIt is a scripting environment for Windows with a long history. It's quite easy to use and flexible to do things like detect the open window or dialog, change to another one, type something, etc. I would definitely recommend it.
如果有人好奇,最后我决定使用 Microsoft UI Automation。这是很好的介绍:
http://msdn.microsoft.com/en-us/杂志/cc163288.aspx
In case anybody is curious, in the end I decided to use Microsoft UI Automation. Here is nice intro:
http://msdn.microsoft.com/en-us/magazine/cc163288.aspx