ActionScript - Automatic Test Cases for Zooming and Panning

75 Views Asked by At

I have a very easy application in both AS3 and C++ (for mobile version) which shows a map of New York and allows the user to pan, zoom and receive information boxes when clicking on an attraction on the map.

My question is: how could I write simple test functions to check whether the panning and zooming are working?

1

There are 1 best solutions below

0
On

I use flash Professional CC it has a great Emulator for testing Touch devices on a PC.

but for what you want you might want to use something like

GestureDetector gestureDetector;
View.OnTouchListener gestureListener;

check out: Fling gesture detection on grid layout

or detect and send using trace gesture events for your testing purposes.