Win32-GuiTest - Perl GUI Test Utilities
Source: http://search.cpan.org/~karasik/Win32-GuiTest-1.57/
SYNOPSIS
use Win32::GuiTest qw(FindWindowLike GetWindowText
SetForegroundWindow SendKeys);
$Win32::GuiTest::debug = 0; # Set to "1" to enable verbose mode
my @windows = FindWindowLike(0, "^Microsoft Excel", "^XLMAIN\$");
for (@windows) {
print "$_>\t'", GetWindowText($_), "'\n";
SetForegroundWindow($_);
SendKeys("%fn~a{TAB}b{TAB}{BS}{DOWN}");
}
DESCRIPTION
Most GUI test scripts I have seen/written for Win32 use some variant of
Visual Basic (e.g. MS-VB or MS-Visual Test). The main reason is the
availability of the SendKeys function.
...
-----
This is a great utilities. we can handling a win32 app GUI as a perl script.
This means you don't need to yourself test anymore for app test (i.e., in QA).
Just make a script then do the test. easy ?
visit above the site.
Cheers,
June
목요일, 8월 12, 2010
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기