I'm the creator of AutoTestFlash (http://tiago.webstartpoint.net/flash/)
To capture events you can use the code bellow. It will only work on Mozilla (obj.watch), but I think that a recorder (unlike the runner) does not need to be cross-browser. I do not have a lot of time to create this but a recorder for scripts would not be hard to create if we join the code bellow with SeleniumAssist.
//CODE
interceptEvent(form.elements[i], "onchange", onTextChange);
function interceptEvent(obj, eventName, interceptFunction)
{
obj._interceptFunction = interceptFunction;
obj.watch(eventName, onAttachEvent);
//Just to call onAttachEvent even if there is nothing attached
obj[eventName] = obj[eventName] ;
}
function onTextChange(e)
{
alert(e);
}
function onAttachEvent(prop_name,oldVal, newVal )
{
var funct = function ()
{
this._interceptFunction.apply(this, arguments);
newVal.apply(this, arguments);
}
return funct;
}
//CODE
Cheers,
Tiago
_______________________________________________ Selenium-devel mailing list Selenium-devel@lists.public.thoughtworks.org http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel