Drag problems in Ilog canvas
We are using Robot generally very successfully for regression testing a VB6 app (with wrapped C++ Ilog canvas controls)that is highly graphical in nature.
Our current problem occurs when trying to record mouse movements on an Ilog canvas control. This is a model view of some complex business data (not a paint program)
The main example of this problem is:
Dragging a rectangle onto the canvas.
Without Robot running dragging the mouse on the canvas draws a rubber band and releasing the mouse turns the rubber band into a box. When we try and record this behaviour the rubber band doesn't appear until after the mouse has moved some distance. BUT the script records the correct co-ordinates. Then on playback the rubber band still doesn't appear at the recorded co-ordinates, but at some other intermediate point between the start and end co-ordinates instead.
We have used normal and low-level recording and neither variety works.
The strangest thing about this is that it occurs on RECORDING. It is as if mouse events are being consumed by Robot then lost...
any thoughts as to the cause would be very gratefully received.
Re: Drag problems in Ilog canvas
I can't help you. [img]images/icons/blush.gif[/img]
One thing I have noticed is the management of co-ordinates will vary greatly depending on the object. Try capturing co-ordinates based on an intermediat object between the main windiw and your iLog control.