XP is just a number | |
PerlMonks |
Using Expect in a ActivePerl envirnomentby TASdvlper (Monk) |
on Jun 08, 2004 at 14:48 UTC ( [id://362358]=perlquestion: print w/replies, xml ) | Need Help?? |
TASdvlper has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
I've read a FAQ that Active Perl (Windows) does not support Expect. Is this true, and if so, is there a good alternate method ?? Basically, I have a program in Windows that's interactive and has about 10 different menus. So, I would like to automate this. So for example, say that program is mytest (executable) I would like to entering the following choices (1, 2, yes, no, 5, 6, yes, yes, no, 7, 10). Each choice followed by a carriage return, of course. Any help would be greatly appreciated. Thanks all. ***UPDATE*** So, I'm guessing I can not use Expect so I guess what I need to do it make STDIN a variable in the script (if you know what I mean) ?
Back to
Seekers of Perl Wisdom
|
|