I am trying to install a version of perl that works with WIN32::GUITEST. I found dwimperl "http://dwimperl.com/windows.html" and installed it. I then went to CPAN and tried the calculator program "http://search.cpan.org/~karasik/Win32-GuiTest-1.60/lib/Win32/GuiTest/Examples.pm#eg/calc.pl".

I tried running both:

perl calc.pl mouse perl calc.pl keyboard

They both seemed to run without error but did not return the correct result. Both brought up the windows Calculator fine. In the keyboard case none of the Pushbutton code seemed to work. In the Mouse case the code seem to get the windows from calculator but the mouse click did not seem to work.

Any help would be appreciated. Is it user error?,does dwimperl work with WIN32:GUITEST (should I use something other than dwimperl - if so what?), is it a problems window version I am using (windows 7).

Thankyou in Advance

David Newton


In reply to Problems with WIN32::GUITEST by newtondavide

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.