Internet explorer Watin在我的TFS生成计算机上不工作

Internet explorer Watin在我的TFS生成计算机上不工作,internet-explorer,tfs,watin,specflow,Internet Explorer,Tfs,Watin,Specflow,我已经试着让它工作了一段时间,但我似乎无法在TFS上运行我的Watin测试。他们似乎在我的开发帐户上工作 我有一个TFS用户运行解决方案中的所有测试。所有测试均通过,但Watin测试失败 我得到以下错误: WatiN.Core.Exceptions.RunScriptException: RunScript failed ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0

我已经试着让它工作了一段时间,但我似乎无法在TFS上运行我的Watin测试。他们似乎在我的开发帐户上工作

我有一个TFS用户运行解决方案中的所有测试。所有测试均通过,但Watin测试失败

我得到以下错误:

WatiN.Core.Exceptions.RunScriptException: RunScript failed ---> System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
错误堆栈为:

mshtml.HTMLWindow2Class.IHTMLWindow2_execScript(String code, String language)
WatiN.Core.Native.InternetExplorer.IEUtils.RunScript(String scriptCode, String language, IHTMLWindow2 window)
WatiN.Core.Native.InternetExplorer.IEUtils.RunScript(String scriptCode, String language, IHTMLWindow2 window)
WatiN.Core.Native.InternetExplorer.IEElement.GetJavaScriptElementReference()
WatiN.Core.Native.InternetExplorer.IEFireEventHandler.CreateJavaScriptFireEventCode(NameValueCollection eventObjectProperties, String eventName)
WatiN.Core.Native.InternetExplorer.IEFireEventHandler.FireEvent(String eventName, NameValueCollection eventProperties, Boolean noWait)
WatiN.Core.Native.InternetExplorer.IEElement.FireEvent(String eventName, NameValueCollection eventProperties)
WatiN.Core.Element.FireEvent(String eventName, Boolean waitForComplete, NameValueCollection eventProperties)
WatiN.Core.Element.FireEvent(String eventName)
WatiN.Core.Element.Focus()
WatiN.Core.Actions.TypeTextAction.TypeAppendClearText(String value, Boolean append, Boolean clear)
WatiN.Core.Actions.TypeTextAction.TypeText(String value)
WatiN.Core.TextField.TypeText(String value)

关于从哪里开始查找有什么想法吗?

请确保构建服务已设置为作为交互式进程运行,更多信息请参阅帖子。这是关于编码的用户界面,但它可能是相关的

此外,请检查您的用户帐户是否具有运行交互式进程的权限(您可以以该权限登录),并且是否作为仅提供服务的用户进行安全保护


请确保构建服务已设置为作为交互式进程运行,更多信息请参阅文章。这是关于编码的用户界面,但它可能是相关的

此外,请检查您的用户帐户是否具有运行交互式进程的权限(您可以以该权限登录),并且是否作为仅提供服务的用户进行安全保护


我收到以下错误:“工作文件夹d:\Build\1\MyProject\Watin Test\Sources已被工作区8\u 1\u appsdev\u Build;Domain\Build\u MACHINE$在计算机构建机器上使用。”知道出现错误的原因吗?所有用户都已从生成计算机注销。这应该是另一个问题,但。。。以生成服务器运行时的帐户登录到生成服务器,打开VS.File->Source Control->Workspaces并删除上面提到的工作区。我收到以下错误:“工作文件夹d:\build\1\MyProject\Watin Test\Sources已被computer build\u MACHINE上的工作区8\u 1\u appsdev\u build;Domain\build\u MACHINE$使用。”知道为什么会出现错误吗?所有用户都已从生成计算机注销。这应该是另一个问题,但。。。以构建服务器运行时的帐户登录到构建服务器,打开VS.File->Source Control->workspace并删除上面提到的一个。