[Home]History of AutomatedGuiTesting

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Revision 12 . . (edit) April 12, 2012 11:52 pm by MichaelHaberler
Revision 11 . . (edit) November 19, 2011 6:59 am by MichaelHaberler
Revision 10 . . (edit) November 19, 2011 6:58 am by MichaelHaberler
Revision 9 . . (edit) November 19, 2011 6:56 am by MichaelHaberler
Revision 8 . . November 19, 2011 6:53 am by MichaelHaberler
Revision 7 . . November 19, 2011 6:50 am by MichaelHaberler
Revision 6 . . (edit) November 19, 2011 6:48 am by MichaelHaberler
Revision 5 . . (edit) November 19, 2011 6:12 am by MichaelHaberler
Revision 4 . . (edit) November 19, 2011 3:07 am by MichaelHaberler
Revision 3 . . (edit) November 19, 2011 1:55 am by MichaelHaberler
Revision 2 . . (edit) November 19, 2011 1:36 am by MichaelHaberler
Revision 1 . . November 19, 2011 1:33 am by MichaelHaberler [*start collecting random bits about automated gui testing]
  

Difference (from prior major revision) (minor diff)

Changed: 5c5
There isnt a whole lot of free and good tools for that purpose. The android tool is nice as it allows to record a session, start the program, record interactions, compare the screenshot, and exit. Unfortunately the components are very old and unsuitable - xscope is too limited and cant deal with OpenGL? windows properly.
There isnt a whole lot of free and good tools for that purpose. The android tool is nice as it allows to record a session, start the program, record interactions, compare the screenshot, and exit. Unfortunately the components are very old and unsuitable - xscope is too limited and cant deal with OpenGL? windows properly. It is a proxy sitting between X server and application; if it cant relay events the application fails. Since it is a proxy it doesnt see window manager events as well.

Changed: 7c7
Nowadays tools mostly work directly with the X server through the XTEST and record extensions. Some also use ATSPI, which I didnt get to work on ubuntu (http://en.wikipedia.org/wiki/Assistive_Technology_Service_Provider_Interface).
Nowadays tools mostly work directly with the X server through the XTEST and record extensions, and the application connects directly to the X server as usual; the XTEST and record extensions allow recording and inserting of X events. Some tools also use ATSPI, which I didnt get to work on ubuntu (http://en.wikipedia.org/wiki/Assistive_Technology_Service_Provider_Interface).

Changed: 15c15
Those could be glued together like so (this is theory - I dont have tried the full flow):
Those could be glued together like so (this is theory - I didnt try the full flow):

Changed: 39c39
Xnee can record and playback touchy and axis sessions.
Xnee can record and playback touchy and axis sessions. This records the first 3000 events (just move the mouse until cnee stops)

Changed: 41,42c41,45
env DISPLAY=:0 cnee --record --events-to-record 3000 --mouse --keyboard -o /tmp/axis6.xns
env DISPLAY=:0 cnee --no-synchronise --replay --file /tmp/axis6.xns
env DISPLAY=:0 cnee --record --events-to-record 3000 --mouse --keyboard -o /tmp/axis.xns

This replays the session - application must be in exactly same starting state (buttons etc):

env DISPLAY=:0 cnee --no-synchronise --replay --file /tmp/axis.xns

Removed: 54,57d56
- 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

Added: 65a65
The output is terminally ugly and missing detail, can maybe improved with proper Xvfb options

Added: 67a68


Added: 82a84,90
- 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




Added: 83a92,96

Other related utilities




* xmacro: http://xmacro.sourceforge.net/

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
Search:
Published under a Creative Commons License