Query - Pexpect

G

Girish

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.

Regards
Girish
 
L

Lee Harr

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top