无法运行编码的UI测试

无法运行编码的UI测试

本文介绍了无法运行编码的UI测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

作为TFS构建的一部分,我无法在代理计算机中运行编码的UI测试.下面是错误消息

I'm Not able run the coded UI test in agent machine as part of the TFS build. below is the error mesage

单元测试适配器无法连接到数据源或读取数据.有关解决此错误的详细信息,请参见解决数据驱动的单元测试". (http://go.microsoft.com/fwlink/?LinkId=62412)(位于MSDN库中).
错误详细信息:错误[IM014] [Microsoft] [ODBC驱动程序管理器]指定的DSN包含驱动程序和应用程序之间的体系结构不匹配

The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library.
Error details: ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

机器操作系统:Win 2008 R2

Machine OS : Win 2008 R2

VS版本:VS 2013 Ultimate

VS version : VS 2013 Ultimate

当Office 2010安装在服务器中时,我能够运行测试,现在,一旦将其删除,它便停止工作..我认为这就是原因.我已经安装了用于OLEDB连接的Access数据库引擎,但是我在某处找到了解决方案 它不起作用.

I was able to run the test when Office 2010 installed in the server and now its stopped working once its removed .. I think thats the cause. I have installed the Access database engine for OLEDB connection which I found as solution in somewhere howevere its not working.

你能帮我吗?

此致

大师

推荐答案

>>>当Office 2010安装在服务器中时,我能够运行测试,现在,一旦将其删除,它便停止工作

>>I was able to run the test when Office 2010 installed in the server and now its stopped working once its removed

似乎您没有安装用于OLEDB连接的Access Database引擎.

It seems that you did not install the Access Database engine for OLEDB connection.

>>我已经安装了用于OLEDB连接的Access数据库引擎,我发现它在某处是解决方案,但是它不起作用.

>>I have installed the Access database engine for OLEDB connection which I found as solution in somewhere howevere its not working.

您的意思是说,在安装Access数据库引擎之后,您收到了错误消息?如果是这样,我认为有关Access数据库引擎版本错误或您连接到驱动程序的方法存在一些问题.例如,如果您连接 到64位平台下的32位驱动程序,请使用c:\​​ windows \ sysWOW64 \ odbcad32.exe.下面的链接显示了详细信息:

Do you mean that after you installed the Access database engine, you got the error message? If so, I assume that there is some problem about the version of the Access database engine is wrong or the method you connect to the driver. For example, if you connect to a 32-bit driver under 64-bit platform, use use c:\windows\sysWOW64\odbcad32.exe. The link below shows the details:

#管理数据源
https://msdn.microsoft.com /en-us/library/ms712362%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

#Managing Data Sources
https://msdn.microsoft.com/en-us/library/ms712362%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

此外,首先,我建议您安装与系统具有相同版本的Access数据库引擎2010.

In addition, first of all, I would recommend you install Access database engine 2010 which has the same version with the system.

最好的问候,

Best Regards,

爱德华


这篇关于无法运行编码的UI测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-06 01:59