in reply to Re^9: Gui Automation using guitest
in thread Gui Automation using guitest

If you didn't have the module installed you'd have received an error message telling you that Perl couldn't find it, which isn't 'nothing' as you said your program returned. Why didn't you mention this before? If you want help to learn you need to put some effort into asking questions. Failure to do so is a waste of peoples time.

I suggest you spend time working through Win32::GuiTest::Examples, learning how it works. You seem to be lacking understanding of the underlying concepts involved in what you're trying to do. A forum isn't ideal for drip feeding these concepts to someone. Read and understand Using Win32::GuiTest.

Replies are listed 'Best First'.
Re^11: Gui Automation using guitest
by shayak (Acolyte) on Feb 10, 2011 at 11:49 UTC
    No actually i didnt get an error message. The program was not executing only.. Actually i was doing this in a vm. I tried it in my host machine and it worked. Then on checking i realized i didnt have a module installed in the vm. I understood my problem and have already started working on it.. Thank you for ur help.

      This makes no sense. If you run code in which you use a nonexistent module, for example use This::Does::Not::Exist, you'll get an error message if you've not got it installed:

      #!/usr/bin/perl use strict; use warnings; use This::Does::Not::Exist;

      Outputs:

      Can't locate This/Does/Not/Exist.pm in @INC (@INC contains: C:/strawbe +rry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/li +b .) at fail.pl line5. BEGIN failed--compilation aborted at fail.pl line 5.

      Clearly you would have had an error message on your VM where Win32::GuiTest was not installed.

      Update: fixed typo.