为什么Coded UI测试构建器在不同的机器上采用不同的“控制类型”? [英] Why Coded UI test builder is taking different 'control type' on different machine?

查看:94
本文介绍了为什么Coded UI测试构建器在不同的机器上采用不同的“控制类型”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在网络应用程序中,有一个忘记密码链接。我想在我的代码中使用忘记密码链接。但是,在machine1 [远程机器+ Win 7专业版+ IE9标准模式+ 64位操作系统]上,它将控件识别为"自定义"类型。在machine2上,
[本地机器+ Win 7专业  + IE 9标准模式+ 32位操作系统]它将控件识别为"超链接"。任何想法,可能的原因是什么?是否因为32/64位OS而发生?

On a web application, there is a forgot password link. I am trying to use the forgot password link in my code. However, on machine1 [Remote machine + Win 7 professional + IE9 Standard Mode + 64-bit OS] it is identifying control as 'Custom' type. On machine2, [Local machine + Win 7 professional  + IE 9 Standard Mode + 32-bit OS ] it is identifying control as 'hyperlink'. Any idea, what could be the possible reasons? Does it happening because of 32/64 bit OS?

推荐答案

理想情况下不应该这样,你能告诉我们DOM树中html的样子吗?

(使用开发人员工具栏)
This should ideally not happen, can you show us how the html looks like in the DOM tree?
(Using the developer tool bar)


这篇关于为什么Coded UI测试构建器在不同的机器上采用不同的“控制类型”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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