How do I write automated tests for the UI of a Windows Phone 7 application?
It is hard enough to drive a normal app var it’s UI, however when the app is not running on your development platform it is even harder.
S开发者_Go百科o what tools will help me test the UI of a Windows Phone 7 application?
See also "Are there any issues I should know about with unit test of Windows 7 Phone code?"
Expensify's (confusingly named) Windows Phone Test Framework supports UI automation. I've yet to use it on a project, but it looks promising.
I've not seen anyone release any tooling for this yet.
If you're going to try and write something yourself, you should have a look at this post on emulator automation and testing.
X-Ref with question 3806477
Expensify is definitely an option. Other than that there is Experitest. But Expensify does not support Windows Phone 8 and is terribly flakey after making changes to support windows phone 8.
精彩评论