ilim
13 years agoNew Contributor
Simulating mouse down/up events in a flex application
I'm trying to test a flex application which has the following functionality: A user can click and hold down the mouse button on the display object and then drag the mouse around to perform a freehand sketch. When the user releases the mouse button the sketch is complete.
I understand that Test Complete does not directly support flex mouse down/up events but was hoping to be able to simulate it, possibly by manually dispatching the mouse down/up events ie. using the flex object's dispatchEvent() method. Is this possible or is there another way to this? If so, some JScript code would be extremely appreciated.
Ian
I understand that Test Complete does not directly support flex mouse down/up events but was hoping to be able to simulate it, possibly by manually dispatching the mouse down/up events ie. using the flex object's dispatchEvent() method. Is this possible or is there another way to this? If so, some JScript code would be extremely appreciated.
Ian
- Hi Ian,
I would recommend you to have a look at the LLPlayer object (http://support.smartbear.com/viewarticle/30799/).
Hope, it might appear to be what you are looking for...