JDogRob has asked for the wisdom of the Perl Monks concerning the following question:
I have a perl Tk script that generates a MainWindow and two buttons ("Continue", "Exit"). The perl script is called from another program. I am trying to automate the that script for batch script testing - i.e I call that perl script dozens of times across the batch scripts I wrote...so for automation I need the ability to 'press' "Continue" automagically.
So perl script is called -> sleeps for 3 seconds to simulate user -> "Continue" is programatically pressed.
Lot's of Google searching. Uncovered generateEvents and binding. But nothing that has really solved the problem (if solvable). Any help is appreciated. - Jason
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Tk ButtonPress Automation
by Anonymous Monk on Sep 10, 2015 at 02:54 UTC | |
by JDogRob (Initiate) on Sep 13, 2015 at 22:22 UTC | |
|
Re: Perl Tk ButtonPress Automation
by Anonymous Monk on Sep 10, 2015 at 02:16 UTC |