Loading ...
Sorry, an error occurred while loading the content.

916Re: Some Functions are not available

Expand Messages
  • pkaluski
    May 25, 2005
    • 0 Attachment
      From 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:

      $EXPORT_TAGS{ALL}= \@EXPORT_OK;

      $VERSION = '1.50.3-ad';

      $debug = 0;

      -Piotr


      --- In perlguitest@yahoogroups.com, "vikas mehan" <vikas_mehan@i...>
      wrote:
      > Hi,
      > 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
      > (Link:
      > http://www.piotrkaluski.com/files/winguitest/docs/ch09s20.html).
      >
      > Pls see the code below that gives the following error when
      > run: "Undefined subroutine &main::GetMenuItemCount called at
      test.pl
      > line 5."
      >
      > 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
      Library
      > but have been documented.
      >
      > Vikas
    • Show all 4 messages in this topic