编码的UI测试 - 窗口 - 通用应用程序 [英] Coded UI Test - Windows - Universal Apps

查看:294
本文介绍了编码的UI测试 - 窗口 - 通用应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想窗口自动测试使用编码的UI测试项目中使用vs2013旗舰版的应用程序。

I am trying to automated testing of windows apps using coded-ui-test project using vs2013 ultimate edition.

我可以看到在测试C#桌面应用程序的模板类别和windows下的手机类手机应用程序。

I can see those templates for C# desktop applications under test category and for phone application under windows phone category.

我看不到的Windows通用应用程序等的模板。

I cannot see such template for Windows Universal Apps.

?如何普遍应用自动化

How to automate universal apps?

如果我选择在类商店应用程序提供的编码UI模板 - >编码的UI测试项目(视窗)

If I choose the coded ui template available under category Store Apps -> Coded UI Test Project (Windows)

项目创建后,录音机给我一个消息记录行动步骤是不支持Windows Store应用程序

After project creation, recorder gives me a message "recording action steps is not supported for windows store apps"

推荐答案

微软还没有记录步定义为移动或通用的Windows应用程序发布的支持。录音机有以观察为主,UI元素,并自动生成代码,并断言在已查明与自动化ID或参考点我们大多数人希望避免的元素。这事我现在处理的是我会更新这个问题,如果当我找到解决办法,除非别人打我吧,这将受到欢迎。

Microsoft has not yet released support for recording step definitions for mobile or universal Windows apps. The recorder is there mainly to observe UI elements and to auto-generate code and assertions on elements that have been identified with automation ID's or point references which most of us wish to avoid. This is something I am currently dealing with an I'll update this question if and when I find solutions unless someone else beats me to it, which would be welcomed.

这篇关于编码的UI测试 - 窗口 - 通用应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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