-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Williams wrote: > Patrick Lightbody wrote: > >> Has anyone given thought to a JavaScript/iframe combo (or FireFox >> plugin) that captures the clicks/events/etc by a user and records them >> as Selenium commands? It could start to get a little hairy (see example >> below), but would be very useful. > > > Ian Bicking wrote a Test recorder, though it was based on TCP snooping, > rather than integrated into Selenium: > > http://lists.public.thoughtworks.org/pipermail/selenium-devel/2005-March/000187.html
Generating tests from "wire-protocal" recordings (the Zelenium Zope wrapper has a 'generator.py' module which does this as well) is never going to create a "satisfactory" test: the wire protocl is "lossy" with respect to the user's "gestures". E.g.: - It includes values for <input type="hidden"> fields, which th user never sees or manipulates. - It can't tell whether the user clicked a link, pushed a button, or hacked the URL bar, so it has to fall back to using the 'open' verb for every new page load. In such tests, a crucial aspect of the UI (navigability between the pages which make up the scenario) can't be tested. I think the mozdev folks are furthest along toward having the infrastructure which could record the "real" client-side gestures, e.g.: - http://extensionroom.mozdev.org/more-info/macroeditor - http://uzilla.mozdev.org/obzerver.html Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCxryM+gerLs4ltQ4RAjxVAKDaReULsiQxhSrlwXNAvzm/3G6PYwCgjzka RsChyMsjplQqDO8bmb8Tuxc= =QKZu -----END PGP SIGNATURE----- _______________________________________________ Selenium-devel mailing list Selenium-devel@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel