加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

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

发布时间:2020-12-14 05:27:13 所属栏目:Windows 来源:网络整理
导读:我可以在 Windows Phone 8模拟器上运行UI自动化测试吗?到目前为止,我能找到的所有答案和文章都是指Windows Phone 7平台. 是否有任何Microsoft工具或某些第三方库可以解决此问题? 我可以在没有实际设备的模拟器上执行此操作吗? 解决方法 编码的UI现在支持W
我可以在 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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读