916Re: Some Functions are not available
- May 25, 2005From where did you get the win32::GuiTest installation package?
What is the version of it?
In order to check the version, go to the guitest.pm file and look for
section like this below:
$VERSION = '1.50.3-ad';
$debug = 0;
--- In email@example.com, "vikas mehan" <vikas_mehan@i...>
> I have observed that there are a few functions I picked up from
> the "Documentation" link in the "Links" section of the group, that
> are not available. For eg, GetMenuItemCount
> Pls see the code below that gives the following error when
> run: "Undefined subroutine &main::GetMenuItemCount called at
> line 5."Library
> use Win32::GuiTest qw(:ALL :SW);
> use strict;
> my $handle = WaitWindow("^Untitled.*Notepad", 2);
> my $hMainMenu = GetMenu($handle);
> my $count = GetMenuItemCount($hMainMenu);
> print $count;
> Almost all the other menu related functions (apart from MenuSelect)
> and a few for other controls are not avaiable in the GuiTest
> but have been documented.
- << Previous post in topic Next post in topic >>