It doesn't fullfil the requirements for an automated testing,
however, it is a good idea, but not inside the plannings I proposed.
El 08/04/2007, a las 23:07, Eduardo Felipe escribió:
But that required some macro interface "click at x,y, wait some
seconds,
press 'k' key", that is not currently under QEMU.
It does exist... it's called VNC server. Maybe you can have a look at:
http://www.sodan.org/~penny/vncrec/
or
http://suif.stanford.edu/vncplay/freenix05-html/
I don't know any of them, but they can be useful.
Also this one:
http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf.html
It's vncrec compatible and can record and replay sessions.
The best solution I think is to get a way to send QEMU the
screenshot to
file command some times and stop the VM when both are equal, then
send the
last took screenshot to a mail address so breakability can be
checked. (If
it is the login window, great, it BOOTS!, if not, it doesn't)
pyvnc2swf has the ability to create image files from VNC sessions.
It is easily customizable and a special instruction could be
recorded into the .vnc files meaning:
1) Request a full screen update
2) Turn screen buffer into an image
3) Compare image to reference
Control points could be chosen in recording time and inserted into
the .vnc by some key combination.
Regards,
Eduardo