命令行执行UIAutomation脚本的先决条件。 [英] Prerequisites for Command line execution of UIAutomation Scripts.
问题描述
是否有使用命令行执行UIAutomation脚本的先决条件?如果是这样,有人可以帮我吗?
我收到一条错误消息,指出我尝试使用以下命令执行测试时找不到文件,尽管存在所需文件:
1。 C:\&; MSTest /testmetadata:TestProject_BuildValidation.vsmdi / testlist:NewList
2。 C:\> MSTest /testmetadata:TestProject_BuildValidation.vsmdi
3。 C:\> MSTest / testcontainer:TestProject_BuildValidation\TestProject_BuildValidation\bin\debug\TestProject_BuildValidation.dll
Anyhelp会很感激。
<问候,
Basava Kumar M
尝试给出完整的路径
c:\> mstest /testcontainer:"c:\project\\\
ame.dll" /testmetadata:"c:\project\\\
ame.vsmdi"
为避免提供完整路径,请尝试将元数据文件和容器文件复制到新文件夹并导航到新文件夹并运行mstest命令
c:\NewFolder> mstest /testcontainer:"name.dll" / testlist:NewList
Hi,
Is there any prerequisite for executing of UIAutomation scripts using command line? If so can anyone please help me on this?
I got an error messages stating file not found while I try to execute the test using the below commands, though the required files exists:
1. C:\>MSTest /testmetadata:TestProject_BuildValidation.vsmdi /testlist:NewList
2. C:\>MSTest /testmetadata:TestProject_BuildValidation.vsmdi
3. C:\>MSTest /testcontainer: TestProject_BuildValidation\TestProject_BuildValidation\bin\debug\TestProject_BuildValidation.dll
Anyhelp would be thankful.
Regards,
Basava Kumar M
try giving the complete path like
c:\>mstest /testcontainer:"c:\project\name.dll" /testmetadata:"c:\project\name.vsmdi"
To avoid giving full path try copying the metadata file and container file into a newfolder and navigate to the newfolder and run mstest command
c:\NewFolder>mstest /testcontainer:"name.dll" /testlist:NewList
这篇关于命令行执行UIAutomation脚本的先决条件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!