Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 使用Win32::GuiTest/other模块自动化GUI_Windows_Perl_Winapi - Fatal编程技术网

Windows 使用Win32::GuiTest/other模块自动化GUI

Windows 使用Win32::GuiTest/other模块自动化GUI,windows,perl,winapi,Windows,Perl,Winapi,我有一个Win32 Gui应用程序有没有办法使用Win32::GuiTest/或任何其他cpan模块来自动执行此操作:截取用户发送的键盘并更改它,然后将其发送到应用程序,如果有,是否有人可以显示一些示例?通常,如果您正在编写Gui应用程序,您希望尽可能精简视图层,只将事件从GUI框架转发到逻辑处理代码。这允许您将传统的单元测试应用于逻辑。MVC和MVP模式明确了这种分离

我有一个Win32 Gui应用程序有没有办法使用Win32::GuiTest/或任何其他cpan模块来自动执行此操作:截取用户发送的键盘并更改它,然后将其发送到应用程序,如果有,是否有人可以显示一些示例?

通常,如果您正在编写Gui应用程序,您希望尽可能精简视图层,只将事件从GUI框架转发到逻辑处理代码。这允许您将传统的单元测试应用于逻辑。MVC和MVP模式明确了这种分离