简体   繁体   English

如何安装用于Microsoft Test Manager的自定义诊断数据适配器?

[英]How to install a custom diagnostic data adapter for use in Microsoft Test Manager?

I'm using Microsoft Test Manager to do some automated testing using lab environments. 我正在使用Microsoft测试管理器在实验室环境中进行一些自动化测试。 I'd like to take advantage of choosing a data adapter in the test settings, so I created my own going off of the MSDN documentation: How to: Create a Diagnostic Data Adapter 我想利用在测试设置中选择数据适配器的优势,因此我创建了自己的MSDN文档: 如何:创建诊断数据适配器

MSDN says to copy the resulting built files to the target machine as described here: How to: Install a Custom Diagnostic Data Adapter . MSDN表示按以下说明将生成的生成文件复制到目标计算机: 如何:安装自定义诊断数据适配器 I did this; 我做到了 however, the directory they specified didn't exist, so I created it with the same name. 但是,它们指定的目录不存在,所以我用相同的名称创建了该目录。

The directory I copied my files to was: 我将文件复制到的目录是:

Program Files\\Microsoft Visual Studio 11.0\\Common7\\IDE\\PrivateAssemblies\\DataCollectors 程序文件\\ Microsoft Visual Studio 11.0 \\ Common7 \\ IDE \\ PrivateAssemblies \\ DataCollectors

Now, I did this on both my local machine and my target machine, yet Microsoft Test Manager doesn't recognize its existence in the "test settings". 现在,我在本地计算机和目标计算机上都执行了此操作,但是Microsoft Test Manager在“测试设置”中无法识别它的存在。 Is it just supposed to automatically appear? 它是否应该自动出现? Unfortunately, the documentation doesn't provide much detail. 不幸的是,文档没有提供太多细节。

I'm wondering if the reason MTM doesn't recognize the data adapter is because the directory "PrivateAssemblies\\DataCollectors" didn't exist previously before I created it. 我想知道MTM无法识别数据适配器的原因是因为创建该目录之前,该目录“ PrivateAssemblies \\ DataCollectors”并不存在。

Has anyone been able to create a data adapter and get it working and recognized in MTM? 是否有人能够创建数据适配器并使它工作并在MTM中得到认可?

I'm using custom data adapter and all I had to do to install it was to copy the dll into the folder mentioned by MSDN. 我使用的是自定义数据适配器 ,我要做的就是将dll复制到MSDN提到的文件夹中。

Can you see other data adapters (shipped with MTM) in Test Settings ? 您可以在“ 测试设置”中看到其他数据适配器 (MTM附带)吗?

在此处输入图片说明

The dlls for these data adapters are also located in the directory you are missing on your machine. 这些数据适配器的dll也位于您在计算机上丢失的目录中。

If you can see these data adapters then try to find following dll on your machine: 如果可以看到这些数据适配器,请尝试在计算机上查找以下dll:

Microsoft.VisualStudio.TestTools.DataCollection.EventLog.dll

Just in case they have been installed in another folder for any reason. 以防万一由于某种原因将它们安装在另一个文件夹中。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “创建新的Lab Center环境时,”Microsoft Test Manager无法在这些计算机上安装测试代理“ - “Microsoft Test Manager cannot install test agent on these machines” when creating new Lab Center environment 如何在NUnit 2.6.3中使用NUnit测试适配器 - How to use NUnit Test Adapter with NUnit 2.6.3 MIcrosoft测试管理器和代码覆盖率 - MIcrosoft Test Manager and Code Coverage 在Microsoft测试管理器中查看测试用例摘要 - View Test Case summary in Microsoft Test Manager 如何将伪造物与Microsoft Test Manager(MTM)2012中的测试计划相关联以运行CUIT自动测试 - How to associate a Fake Build to the test plan in Microsoft Test Manager (MTM)2012 in order to run CUIT automated test Microsoft测试管理器中的单元测试 - Unit-tests in Microsoft Test Manager 无法使用Microsoft Test Manager运行我的测试 - Couldn't run my test using Microsoft Test Manager 在Microsoft测试管理器中的探索性会话中创建测试用例仅显示最后10个步骤 - Creating a test case from exploratory session in Microsoft test manager only shows last 10 steps 如何在扩展管理器中卸载Microsoft Web开发人员工具 - How to uninstall microsoft web developer tools in extension manager 当我通过Microsoft测试管理器运行测试用例时,为什么MTM尝试加载错误版本的CodedUITestFramework DLL? - Why is MTM attempting to load the wrong version of CodedUITestFramework DLL when I run a test case via Microsoft Test Manager?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM