当从cmd提示符自动编码ui测试时,“。dll不是有效的测试扩展名” [英] ".dll is not a valid test extension"when automate the coded ui test from cmd prompt

查看:90
本文介绍了当从cmd提示符自动编码ui测试时,“。dll不是有效的测试扩展名”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,



我的需求是使CodedUItest自动化(使用visual studio 2017开发)机器(WindowsServer2012-R2操作系统),我不应该下载Visual Studio,我不应该使用网络连接。所以,我从https://www.visualstudio.com/下载了visual studio Test Agent
在我的本地计算机(Windows7操作系统)中下载/并将文件从C:\Program Files(x86)\ Microsoft Visual Studio \\\ 2017 \ TestAgent复制到我的测试计算机。 



使用命令提示符(MSTest.exe)编写的UITest案例执行在我的本地机器上正常工作,



而同一批文件显示错误".dll文件不是有效的测试扩展名",在我的测试机器中执行时



请帮我解决这个问题。你的方向非常受欢迎。



谢谢。

解决方案

大家好,


我的要求是在机器(WindowsServer2012-R2操作系统)中自动执行CodedUItest(使用visual studio 2017开发),我不应该下载Visual Studio和我不应该使用网络连接。所以,我从我的本地机器(windows7操作系统)中下载了https://www.visualstudio.com/downloads/ 中的visual studio Test
代理,将文件从C:\Program Files(x86)\ Microsoft Visual Studio \\\2017 \ TestAgent复制到我的测试机器。 


使用命令提示符执行编码的UITest案例(MSTest.exe)在我的本地计算机上工作正常,


而在我的测试计算机中执行时,同一个批处理文件显示错误".dll文件不是有效的测试扩展名" / p>

请帮我解决这个问题。非常感谢你的指示。


Th anks。


Hi All,

My requriement is to automate the CodedUItest (developed by using visual studio 2017)in the machine(WindowsServer2012-R2 OS) where I should not download the Visual Studio and I should not use the network connection.So, I downloaded the visual studio Test Agent from https://www.visualstudio.com/downloads/ in my local machine( windows7 OS) and copied the files from C:\Program Files (x86)\Microsoft Visual Studio\2017\TestAgent to my test machine. 

Coded UITest case execution using command prompt(MSTest.exe) is working fine in my local machine,

whereas same batch file is showing error ".dll file is not the valid test extension" when executed in my test machine

Please help me to fix this. Your direction is most appreciated.

Thanks.

解决方案

Hi All,

My requriement is to automate the CodedUItest (developed by using visual studio 2017)in the machine(WindowsServer2012-R2 OS) where I should not download the Visual Studio and I should not use the network connection.So, I downloaded the visual studio Test Agent from https://www.visualstudio.com/downloads/ in my local machine( windows7 OS) and copied the files from C:\Program Files (x86)\Microsoft Visual Studio\2017\TestAgent to my test machine. 

Coded UITest case execution using command prompt(MSTest.exe) is working fine in my local machine,

whereas same batch file is showing error ".dll file is not the valid test extension" when executed in my test machine

Please help me to fix this. Your direction is most appreciated.

Thanks.


这篇关于当从cmd提示符自动编码ui测试时,“。dll不是有效的测试扩展名”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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