.net – Windows Phone 8上的UI测试和自动化

前端之家收集整理的这篇文章主要介绍了.net – Windows Phone 8上的UI测试和自动化前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我可以在 Windows Phone 8模拟器上运行UI自动化测试吗?到目前为止,我能找到的所有答案和文章都是指Windows Phone 7平台.

是否有任何Microsoft工具或某些第三方库可以解决此问题?
我可以在没有实际设备的模拟器上执行此操作吗?

解决方法

编码的UI现在支持Windows phone 8的UI自动化测试.它可以在模拟器中运行,因此您不需要实际的设备.

要从解决方案中的WP编码UI测试开始,请选择文件 – >添加 – >新项目…
在“添加新项目”对话框中,选择“Visual C#”下的“编码的UI测试项目”(Windows Phone) – > Windows phone Apps节点

以下是Prachi Bora自动测试基于XAML的Windows应用程序和Windows Phone会话的链接
http://channel9.msdn.com/Events/Build/2014/3-593

会议摘要

Do you want to create automated tests for your apps? With Visual Studio 2013 Update 2 you can now create automated tests for your XAML-based Windows and Windows Phone apps. Starting from unit tests to functional end-to-end scenario tests using coded UI tests,you can now perform all of your testing from the integrated Test Explorer in Visual Studio. The testing framework is extensible and developers can customize it to meet the specialized needs of their application. In this session,we will show you how to build comprehensive test suites for your apps by leveraging these Visual Studio capabilities that will help you ship a great quality app.

猜你在找的Windows相关文章