Windows Phone 8.1 - Accessing Files from Coded User Interface

I am trying to access the file system for read / write operations on Windows Phone 8.1 from Coded UI Test in order to log events and read settings files.

I am unable to access Windows.Storage.KnownFolders due to System.UnauthorizedAccessException and unable to grant permissions due to missing app manifest in coded UI test.

I also cannot access Windows.Storage.ApplicationData.Current because the process does not have a package ID.

Any ideas on how to solve this?

+3


source to share





All Articles