Sariali
13 years agoContributor
Generating test-data during test-recording
hello!
we are working with a timeline. it has a lot of objects (sound, picture, text).
every move of these objects with the mouse changes the internal data-structure.
to create for each combination of mouse-operations i need a lot of single recordings -
checking out manually the internal data-structure.
my idea is:
instead of figure out the internal data-structure for every single move on the timeline,
i would prefere that: do a lot of movements on the timeline in one recording-session and save automatically
the internal data-structur on mouse-button-up-event in a unique-name file. these stored data-structures are used later to compare with.
is there a possiblity to catch the mouse-button-up-event during recording a test?
example like this:
#preparation
tc_recorder.OnMouseUpEvent := myMouseUpEvent;
procedure myMouseUpEvent;
begin
sys.myprocess.SaveInternalData; //
end;
#recording
-- record started!
-- on MouseUp myMouseUpEvent called!
sincerly
necip sariali