将.net Framework升级到v4.6.2后,CodedUI Windows应用程序测试脚本失败 [英] CodedUI windows application test script is getting failed after upgrading .net framework to v4.6.2

查看:87
本文介绍了将.net Framework升级到v4.6.2后,CodedUI Windows应用程序测试脚本失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

CodedUI Windows应用程序测试脚本在以前升级计算机.net Framework v4.6.2后失败,而我使用的是.net v4.

CodedUI windows application test script is getting failed after upgrading the machine .net framework v4.6.2 previously i was having .net v4.

我有Visual Studio 2010.

Im having visual studio 2010.

工具无法识别对象.尖刺,发现对象及其属性发生了变化.

Tool is failing to recognize the objects. Spied and found that object and its properties got changed.

有什么解决方案,而不是更改对象及其属性?

Any solution for this rather than changing the object and its properties?

推荐答案

嗨Anees N,

Hi Anees N,

根据您的描述,在VS中,请将.net框架更改为v4.0.请参考以下步骤:

According to your description, in VS please change the .net framework to v4.0. Please refer to the following steps:

右键单击项目名称->选择属性->选择.net框架的版本:

Right-click the project name -> choose properties->choose the version of .net framework:

此致

奥斯卡


这篇关于将.net Framework升级到v4.6.2后,CodedUI Windows应用程序测试脚本失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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