- android: see http://drdobbs.com/tools/184404691 and http://web.archive.org/web/20040604025740/http://www.wildopensource.com/larry-projects/android.html
can record a Touchy (gtk) session. Cannot record an Axis session (probably OpenGL? related - loops with a PutImage? request). very limited - uses a proxy between client and server, which fails to record/playback window manager events
- Xvfb: both axis and touchy in principle can run under Xvfb.
Xvfb :1 -fbdir /tmp/ & emc2-dev/configs/sim$ env DISPLAY=localhost:1 emc touchy.ini & cd /tmp xwud -in Xvfb_screen0
- computing xwd visual differences:
$ composite screenshot1.xwd screenshot2.xwd -compose difference difference.jpg $ eog /tmp/difference.jpg
- Xnee: looks promising : http://itupw056.itu.chalmers.se/xnee/nightly-dists/ , http://itupw056.itu.chalmers.se/xnee/doc/xnee.html can record and playback touchy session, cops out on Axis session with an error (Xnee error Description: Fatal error while adjusting window position Solution: Xnee could not adjust window position. Report the problem)
Perl binding to X11 recording extension: http://search.cpan.org/dist/X11-GUITest-record/lib/X11/GUITest/record.pm
This module can track basic events in the Xvfb setup above (KeyPress?, X_CreateWindow?, X_DestroyWindow?, X_PolyText8?, KeyRelease?,ButtonPress?, ButtonRelease?, MotionNotify?)
- xscope notes: recording/playback of an axis session
enable X11 TCP connections:
sudo gedit /etc/gdm/gdm.schemas
find:
<schema> <key>security/DisallowTCP?</key> <signature>b</signature> <default>true</default> </schema>
shift from true to false:
<schema> <key>security/DisallowTCP?</key> <signature>b</signature> <default>false</default> </schema>
save file gdm.schemas restart Ubuntu
2: xscope doesnt track window manager events. - Do not move or resize the client window. xscope wont notice. - to exit the app, use File->Quit - dont click on the right top close window icon.
3. Playback - Do not use the keyboard or mouse while the script is running.