Re: [perlguitest] GUI test results - what to expect
It is probably possible. But it is not going to be easy. Menu and
accelerators should work fine, since Win32::GuiTest provides SendKeys for
sending keystrokes. But as for toolbar, you may have some problems.
Basically there is no direct support for toolbars in Win32::GuiTest. Also
verifying results may be difficult because I am not sure if WMGetText will
work for Word (you have to experiment).
I think Win32::GuiTest can help you, but you should also have a look at
modules like Win32::OLE and use the mixture of them
> Brand new to GUI testing. Before I jump in headfirst, a
> question about what GUI testing can and can't do.
> At my company, we frequently use Microsoft Word. We've built a number
> of custom menus that have been added to a custom toolbar. Whenever we
> add to these tools or in some way change any of our other
> customizations, we always need to test the menu items to make sure
> they do what they're supposed to do and that the keyboard shortcuts
> are the same.
> Currently this is a manual process: tedious and time-consuming. My
> question is whether GUI testing can automate the tests we now do
> manually (make sure the menu items do what they're supposed to, and
> make sure the keyboard shortcuts are what they're supposed to be).