Win32-GuiTest
view release on metacpan or search on metacpan
WaitWindowLike
"SendKeys" translated unicode characters into set of ALT+NUMPAD
keystrokes. Note that not all applications can understand unicode input.
UnicodeSemantics [BOOL]
If a boolean parameter is set, changes the semantics flag for
functions that return results of either A or W syscalls. If the
parameter is not set, returns the current value of the flag.
DEVELOPMENT
If you would like to participate in the development of this module there
are several thing that need to be done. For some of them you only need
Perl and the latest source of the module from CVS for others you'll also
need to have a C++ compiler.
To get the latest source code you need a CVS client and then do the
following:
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/winguitest login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/winguitest co Win32-GuiTest
See more detailed explanations here
http://sourceforge.net/projects/winguitest/
cygwin
g++ needs to be installed
perl Makefile.PL
make
make test
make install
MSVC environment
To setup a development environment for compiling the C++ code you can
either buy Visual Studio with Visual C++ or you can download a few
things free of charge from Microsoft. There might be other ways too we
have not explored.
The instructions to get the free environment are here:
From http://www.microsoft.com/ download and install:
1) Microsoft .NET Framework Version 1.1 Redistributable Package
2) .NET Framework SDK Version 1.1
This is not enough as there are a number of header files and libraries
that are not included in these distributions. You can get them from
Microsoft in two additional downloads. For these you will have to be
using Internet Explorer. Visit
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
and install
1) Core SDK
2) Microsoft Data Access Components 2.7
Before you can compile you'll have to open a command prompt and execute
the "sdkvars.bat" script from the.NET SDK that will set a number of
environment variables. In addition you'll have to run the "setenv.bat"
you got with the Core SDK (and located in C:\Program Files\Microsoft
SDK) with the appropriate parameters. For me this was /XP32 /RETAIL
In order to finish the packaging you'll also need the tar, gzip and zip
utilities from
http://gnuwin32.sourceforge.net/packages.html
I have not tried it yet.
After this you will probably be able to do the normal cycle:
perl makefile.pl
nmake
nmake test
or run
perl makedist.pl
SEE ALSO
Module's documentation is available at
<http://www.piotrkaluski.com/files/winguitest/docs/index.html>.
TODO
Here are a few items where help would be welcome.
Perl only
Improve Tests
Improve documentation
Add more examples and explain them
C++ compiler needed
Add more calls to the C++ backend
Fix current calls
32bit custom controls (some already implemented)
Possibly Java interfaces
Retreive the list of the menu of a given window.
COPYRIGHT
The SendKeys function is based on the Delphi sourcecode published by Al
Williams <http://www.al-williams.com/awc/> in Dr.Dobbs
<http://www.drdobbs.com/keys-to-the-kingdom/184410429>.
Copyright (c) 1998-2002 Ernesto Guisado, (c) 2004 Dennis K. Paulsen. All
rights reserved. This program is free software; You may distribute it
and/or modify it under the same terms as Perl itself.
AUTHORS
Ernesto Guisado (erngui@acm.org), http://triumvir.org
Jarek Jurasz (jurasz@imb.uni-karlsruhe.de),
http://www.uni-karlsruhe.de/~gm07 wrote DibSect and some other pieces
(see "Changes" for details).
Dennis K. Paulsen (ctrondlp@cpan.org) wrote various pieces (See
"Changes" for details).
Dmitry Karasik (dmitry@karasik.eu.org) added support for unicode and
( run in 1.716 second using v1.01-cache-2.11-cpan-39bf76dae61 )