Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Graphical programs interacting with Expect

3 views
Skip to first unread message

michael...@gmail.com

unread,
May 1, 2006, 8:36:04 AM5/1/06
to
Hi,
I have a program with a graphical user interface that I would like to
write a small testing script for in Expect.

I already found some nice tools to control the mouse (i.e. I can select
the various text-box elements for user input based on their x/y
coordinates).

My question: Is it possible to interact with a such a spawned process
so that expect can send text to those elements? It seems not to work to
just send to the spawned id.

Thanks in advance.

WKR
/Michael Ambrus

Arjen Markus

unread,
May 1, 2006, 8:47:23 AM5/1/06
to
The Wiki has a number of pages on the subject, one being
http://wiki.tcl/tk/android

Perhaps http://wiki.tcl.tk/8813 provides you with some other clues too.

Regards,

Arjen

michael...@gmail.com

unread,
May 3, 2006, 5:34:54 AM5/3/06
to
Thank's Arjen.

I tried some of the tools referred to by the wiki and it brought me
forward a little bit. Now I can send text to some of the controls (but
not all). I believe I'm on the right track however.

Regards
/Michael

0 new messages