无法使用“从命令行运行测试” [英] Fail to use "Run tests from command line"

查看:112
本文介绍了无法使用“从命令行运行测试”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我想调试测试用例失败的原因时,我使用"如何从命令行运行测试"。但我收到错误"文件不存在或无法访问。无法打开Devfund_PnPDTest_WLK.dll"每次。我不知道为什么"Devfun_PnPDTest_WLK.dll"不能
开吗?

When I want to debug why the test case was failed, I use "How to run tests from command line". But I got Error"File does not exist or is not accessible. Failed to open Devfund_PnPDTest_WLK.dll" everytime. I don't know why the "Devfun_PnPDTest_WLK.dll" can't be open?

有人能帮帮我吗?我需要做这些测试。

Could somebody help me? I need do these tests.

推荐答案

我再次看了第6步,这有点不对。将目录更改为c:\ temp,然后运行:

I looked at step #6 again and it is slightly wrong. Change directory to c:\temp, and run:

Te.exe Devfund_< testname>。< ext> / P:"DQ = DeviceID ='<设备实例路径设备管理器中的设备>'"/"RebootStateFile:asdf.st / Name:"*< test case name> *"

Te.exe Devfund_<testname>.<ext>/P:"DQ=DeviceID=’<Device Instance Path of device under test from Device Manager>’" /RebootStateFile:asdf.st /Name:"*<test case name>*"

http://msdn.microsoft.com/en -us / library / windows / hardware / hh998128.aspx

http://msdn.microsoft.com/en-us/library/windows/hardware/hh998128.aspx


这篇关于无法使用“从命令行运行测试”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆