【问题标题】:Testing a silverlight application with statlight on Windows Server 2008 r2在 Windows Server 2008 r2 上使用 statlight 测试 silverlight 应用程序
【发布时间】: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


    【解决方案1】:

    您必须确保执行 StatLight 的服务启用了桌面交互性。

    在服务登录选项卡上,您必须选中“允许服务与桌面交互”

    【讨论】:

    • 我尝试了您的解决方案。不幸的是,它没有改变任何东西。我仍然收到相同的错误消息。
    • 安装的是什么版本的silverlight?
    猜你喜欢
    • 1970-01-01
    • 2016-04-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多