Windows应用商店应用的编码UI测试项目模板? [英] Coded UI Test project template for Windows Store apps?

查看:111
本文介绍了Windows应用商店应用的编码UI测试项目模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,

我在使用Microsoft Visual Studio Enterprise 2015时遇到了一个问题。我正在尝试使用UIMap创建一个基本的编码UI测试记录 - 编码的UI测试生成器。当我尝试将鼠标点击记录到文件资源管理器中的打开文件夹位置
或只是使用计算器程序时,我会看到错误消息,说明以下内容:"要测试Windows应用商店应用,请使用编码的UI测试项目用于Windows应用商店应用的模板 在Windows应用商店节点下。问题是
,我无法在Visual Studios中找到Windows应用商店编码的UI项目选项。我无法找到解决办法,以便在Windows 10企业版中记录基本的鼠标点击。

I am running into an issue while working with Microsoft Visual Studio Enterprise 2015. I am trying to create a basic Coded UI test recording using the UIMap - Coded UI test Builder. When I try to record mouse clicks to either open folder locations in File Explorer or just use the calculator program, I keep seeing error messages stating the following: "To test Windows Store apps, use the Coded UI Test project template for Windows Store apps under the Windows Store node." The problem is that I am unable to locate a Windows Store Coded UI project option within Visual Studios. I have not been able to find a work around so that I can record basic mouse clicks within Windows 10 Enterprise.

仅供参考,我的测试环境是使用Windows 10的虚拟盒图像设置的企业操作系统(使用最新更新更新)。我安装了最新的Microsoft Visual Studio Enterprise 2015软件及更新。

FYI, my test environment is set up using a Virtual Box image with Windows 10 Enterprise OS (updated with latest updates). I have the latest Microsoft Visual Studio Enterprise 2015 software installed with updates.

非常感谢您解决此问题的任何帮助。

Any help troubleshooting this problem is much appreciated.

谢谢!

推荐答案

喜雪地,

请使用以下屏幕截图创建编码UI测试项目(UWP或WP),因为Win10操作系统中的应用程序基于UWP平台如计算器程序。因此,我们无法在
测试节点下使用Coded UI模板。 Test节点下的编码UI模板可用于测试Winform,WPF,Web应用程序等。

Please use the following screenshot to create Coded UI Test project (UWP or WP), because applications in Win10 OS are based on UWP platform such as calculator program. So we could not use the Coded UI template under the Test node. Coded UI template under Test node could be used to test Winform, WPF, Web application and so on.

但是UWP和WP的编码用户界面不支持录制,所以我们需要逐个添加控件,然后自己交给他们。

But Coded UI for UWP and WP do not support recording, so we need to add the control one by one, then hand them by ourselves.

>>当我尝试将鼠标点击记录到文件浏览器中的任一打开文件夹位置时

>>When I try to record mouse clicks to either open folder locations in File Explorer

如果要记录在win10中对文件资源管理器的操作,我认为
测试节点下的编码UI模板支持这些操作。

If you want to record the actions on file explorer in win10, I think the coded UI template under Test node supports these actions.

关于编码用户界面的MSDN文档WP 8.1应用程序请参考以下链接:

The MSDN document about Coded UI for WP 8.1 Apps please refer to the following link:

https://msdn.microsoft.com/en-us/library/dn747198%28v=vs.140%29.aspx?f=255&MSPPError=-2147217396

此致,

奥斯卡


这篇关于Windows应用商店应用的编码UI测试项目模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆