|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.
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.