Is there any UI test automation tool or framework exist that can automate Windows Phone 8 metro app?
6 Answers
I must recommend Perfectomobile. You test on real devices and they do have them all.
I havn't used it in my project (yet), but those that have do really recommend it.
-
Took a look at the site out of curiosity. They unfortunately only have 3 Windows Phone devices, all C900's, which won't run Windows Phone 8. I can see this service being possibly useful for other OS's however. Nov 26, 2012 at 13:09
Take a look at Winium.StoreApps framework.
It's
- free & open-source
- actively developed & supported
- supports many programming languages
- based on Selenium
- scalable
Also there are official Coded UI tools from Microsoft.
The Windows Automation APIs (UIAutomation) is a robust framework for automating Windows Phone 8 apps. For more information see Automating the testing of Windows 8 Apps
-
Copied from the same article: Note about testing on Windows RT Before we dive into the automation topics, we wanted to make a quick note about testing on Windows RT. You can’t build or port x86/64 processes to run on Windows RT. Thus, all the tools and technologies discussed in the rest of this post do not apply for testing on Windows RT. We recommend that you use Visual Studio to test on Windows RT.– JamilNov 28, 2012 at 14:29
-
Windows RT is currently in use on the Surface using the ARM chipset. The question was about automating tests on Windows Phone platforms. Nov 28, 2012 at 19:15
Try Experitest's seetest, I'm not sure that their version for Windows phone 8 is officially out, but AFAIK is on the way and they did a good job automating Android.
If it can help, you can have a look at SIKULI, it is not a Windows Phone 8 testing tool, but it is a tool for UI testing. Here a list of videos http://www.sikuli.org/testing.html (it doesn't work on real device)
According to Mark Chamberlain from Microsoft:
There isn't a built in mechanism enabling you to programmatically mimic touch, tap, gestures, etc.
You would need to build such simulation into your app, for example if you have a UI element's Tap event handler in your code, your UI tap simulator could directly call that event handler.
However, there is now a simple UI Test project on MSFT, with demonstration of how to write one using the Automation Peer classes.
Finally, Justin Angel, a dev with a blog on this subject has a piece and example on how one might achieve this over on Stackoverflow.