Modern App Automation

I recently was assigned the task of doing a POC on Modern App Automation, specifically that are to do with application state management. For instance things like, Activating the App. Suspending/Resuming/Terminating an app. App Bar activation. Snapping the app. Activate Sharing etc.    I started off with the unmanaged code presented in the blog post http://blogs.msdn.com/b/windowsappdev/archive/2012/09/04/automating-the-testing-of-windows-8-apps.aspx…

1