title: Windows Phone 8 - Simulate touchscreen events
body: <p>What would be the best approach to simulate a user tapping on a touchscreen of a Windows Phone 8 device?</p>
  
  <p>One approach I could imagine is to use native code to call the Win32 API functions which control the mouse events. This would assume that touchscreen events are more or less the same as mouse events, and that these API functions are accessible. Does anyone know if this is the case on WP8?</p>
  
  <p>Another approach would be to have something like the Android ADB for the Windows Phone. On Android, one can use ADB to control the device from the PC and also simulate touch screen events (e.g. via Monkeyrunner). I haven't found any information if there is a tool like ADB for Windows Phone 8.</p>
  
  <p>The purpose of finding a solution for this is the integration of Windows Phone 8 devices in an automated testing process.</p>