What OS are you trying to do this on?
Based on your most recent thread asking for help (What should i install to use GUI in windows 8(x64) Strawberry or Activeperl), I'm assuming that you're on Windows. In that case, the module that you want is Win32::GuiTest. This module lets you automate GUI interfaces in Windows.
Just a few notes of caution about trying to automate GUIs in Windows:
- You can't have this run on the system if no user is logged into local console or through remote desktop connection. In the case where no user is logged into a local console or remote desktop connection, the Windows OS does not create the GUI environment. That means you can't automate GUIs.
- Using this through a remote desktop connection can be problematic. At times when the remote desktop connection program loses focus (i.e. you're using another applicaiton), the remote system suspends/stops the GUI environment (running applications/services continue to run). When that happens, you can't automate GUIs.
I'm not familiar enough with the Windows OS to give you a better technical explanations of the notes above. Those are descriptions of what I personally encountered when using Win32::GuiTest as well as another automation tool to automate GUIs.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.