This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[RFC] Automated User testing...


Hi,

one of the many things I'd like to bring to Insight is
automated user testing.  I.E. a program that pretends
to press buttons, click here, type there etc..

This is continuation of Source-Navigator's automated
user testing that was started by Mo Dejong.

Currently the tester program sends events to the GUI
application (e.g. Insight) using Tk's send command.
 This works OK, but is subjects to some of bugs in
the send command (sometimes blocks when it shouldn't)
and it won't work on Windows, due to the lack of a send
command.

I would like to use sockets instead of the send command
and would like to hear what people think.  For the time
being I was thinking about setting an environment variable,
INSIGHT_TEST_PORT to a port number, then launching Insight.
When Insight see that INSIGHT_TEST_PORT is set, it connects
to the port number on the localhost.  From there the tester
application can send pseudo user events to Insight, and
Insight just carries on as normal (unable to tell if it's
the User pressing the buttons or the tester application).

I kind of glossed over some details, but it's still
in it's infancy.  Once I get it working a little better
with Source-Navigator people can check it out.

Comments, Question?

Ian.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]