本文介绍了IE 11&上的ExecuteScript Windows 8.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

关于我的.executescript代码段,我的代码可以完美地在IE10上正常工作.

I have code perfectly working on IE10 regarding my .executescript code segments.

但是,现在在IE11中,我获得了相同代码的访问被拒绝的异常.

However, now in IE11 I get access denied exception for the same code.

我在Windows 8.1和IE 11上.

I am on Windows 8.1 and IE 11.

该代码在Windows 7和IE 10上正常运行.

The code works fine on Windows 7 and IE 10.

我能读到的任何见解或其他文章吗?

Any insights or further write ups I can read on?

谢谢

卡米诺基金会

推荐答案

基于此博客:,在编码的UI测试中,Javascript执行上受支持的Internet Explorer为IE9和经典 IE10.我还看到其他人在使用IE 11进行编码的UI测试中执行javascript时遇到了问题.我认为,可能不支持IE 11或IE11和javascript的编码UI测试的执行有问题.为了诊断出这个问题 更好的是,我建议您将此反馈提交到Microsoft Connect反馈门户: http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx ,Microsoft工程师将对其进行认真评估.提交反馈后,您可以在此处发布链接,这将对其他人有所帮助 有类似问题的成员.我会帮你投票的.

Based on this blog: http://blogs.msdn.com/b/visualstudioalm/archive/2013/01/18/introducing-jscript-execution-on-internetexplorer-and-crossbrowser-in-coded-ui-test.aspx, the supported Internet Explorer on Javascript Execution in Coded UI test are IE9 and classic IE 10. I also see someone else got issues when executing javascript in coded UI test with IE 11. In my opinion, maybe IE 11 is not supported or there is anything wrong with IE11 and javascript execution of Coded UI test. In order to get this issue diagnosed better, I suggest that you submit this feedback to Microsoft Connect feedback portal:http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx, Microsoft engineers will evaluate them seriously. After you submit the feedback, you can post the link here which will be beneficial for other members with the similar issue. And I will help you to vote it.

最好的问候


这篇关于IE 11&上的ExecuteScript Windows 8.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 19:15
查看更多