无法运行编码的UI测试 [英] Cannot run coded UI test

查看:123
本文介绍了无法运行编码的UI测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在为Web应用程序实现codedUI测试,但是在运行脚本时出现错误:

Hi, I am implementing codedUI test for web application but when running the script, I got the error:

"

结果消息:
测试方法FirstDemo.CodedUITest1.CodedUITestMethod1引发异常:
Microsoft.VisualStudio.TestTools.UITest.Extension.TechnologyNotSupportedException:仅在Internet Explorer版本10或更高版本中支持在64位Internet Explorer中测试Web应用程序.

Result Message:
Test method FirstDemo.CodedUITest1.CodedUITestMethod1 threw exception: 
Microsoft.VisualStudio.TestTools.UITest.Extension.TechnologyNotSupportedException: Testing web applications in 64-bit Internet Explorer is only supported on Internet Explorer versions 10 or later.

"

环境是

 -Windows 7 Enterprise 64位SP1

 - Windows 7 Enterprise 64 bit SP1

 -VS 2015 Enterprise版本14.0.25425.01更新3

 - VS 2015 Enterprise version 14.0.25425.01 Update 3

 -IE 11版本11.0.9600.18499CO-更新版本11.0.36(KB3191492)

 - IE 11 version 11.0.9600.18499CO - update version 11.0.36 (KB3191492)

您能帮上忙吗?

谢谢

Nhan

推荐答案

Hi Nhan,

Hi Nhan,

请参考以下MSDN文档,其中有关编码的UI测试和操作记录的受支持的配置和平台.

Please refer to the following MSDN document about Supported Configurations and Platforms for Coded UI Tests and Action Recordings.

请参考以下屏幕截图:

64位模式不支持Internet Explorer,除非在Windows 8或更高版本下运行:

Internet Explorer is not supported in 64-bit mode except when running under Windows 8 or later versions:

此屏幕截图:

https://msdn.microsoft.com/en-us/library/dd380742(v = vs.140).aspx

所以我建议您可以使用IE 32bit来播放编码的UI测试脚本.

So I suggest you could use IE 32bit to play back the coded UI test script.

此致

奥斯卡


这篇关于无法运行编码的UI测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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