【发布时间】:2011-02-08 17:02:30
【问题描述】:
我按照pyxis-tech.com 上的说明在 Windows 2008 r2 服务器上的 TFS2010 上测试了 Silverlight 应用程序。如果我将测试作为构建的一部分运行,它们都会失败。以同一用户身份在服务器上运行它们会显示以下内容:
------------------ Test Failed ------------------
Test Namespace: [StatLight]
Test Class: [CannotFigureItOut]
Test Method: [NotEnoughContext]
Other Info: A Silverlight MessageBox dialog was automatically closed.
Caption: One or more ActiveX controls could not be displayed because either:
1) Your current security settings prohibit running ActiveX controls on this page
, or
2) You have blocked a publisher of one of the controls.
As a result, the page might not display correctly.
Dialog Message:
Web Browser
-------------------------------------------------
Statlight 打开它的浏览器,它会在大约一分钟后关闭它之前显示一个带有相同错误消息的对话框。即使计算机上已经安装了 silverlight 运行时,浏览器也会显示 silverlight 安装广告。 我已经授予执行用户大量的特权,但仍然没有成功。如果有人以前遇到过这个问题,我将不胜感激。
【问题讨论】:
标签: silverlight integration-testing