Forum Discussion
Sariali
14 years agoContributor
at first, thank you, Margret, for the speedy response
and second : excuse me for my awful grammer.
i don't mean the objects of the vcl.
let me simply say
you have an array of 5 integers (1,2,3,4,5)
you draw this integers on a canvas.
you can move this integers with the mouse
every movement changes the order of the numbers
there are a lot of possiblities to move between these numbers
i would like do this:
start recording
start:
- move a number with the mouse (-> button down)
- when i release the mouse-button (-> mouse up) i would like to save the current array of integers (e.g. 5,2,3,4,1)
- goto start: (until i stop recording)
now i have a script x (tc)
and a file y with following content:
5,2,3,4,1
5,3,2,4,1
2,5,2,4,1
etc.
when i start the automated test (script x)
tc would exactly move the numbers as i have did
and i could compare on each mouse-up
with the next numberes in the file y.