Query - Pexpect

Lee Harr lee at example.com
Fri Jul 22 17:50:17 EDT 2005


On 2005-07-22, Girish <girish.14 at gmail.com> wrote:
> Hi ,
>
> I wanna do some automation work using "pexpect".
> I have an application which must be invoked from the command line in
> linux environment,it consists of buttons,textboxes etc can i access
> those widgets using "pexpect",say i wanna enter a value 3.3 in the
> textbox and then click on the ok button,to run the apllication.The
> application is developed using wxpython.ur suggestions will be of gr8
> help.plz do reply.
>  


expect (and pexpect) read and write streams, so they are
mostly used to control console-based applications. If your
app also takes input on standard in and copies the commands
to the textboxes and buttons then it might work. Otherwise
you will need to look elsewhere.



More information about the Python-list mailing list