VSTS是否支持使用框架1.1开发的winforms应用程序的自动化测试 [英] does VSTS support automation testing for winforms applications developed with framework 1.1
问题描述
我在MSDN博客中读到,Visual Studio团队测试使用的winforms自动化UI测试框架插件仅支持自动化开发的winforms应用程序在框架2.0或更高版本中。
我想知道是否有任何工作可以使用Visual Studio团队测试来自动化使用框架1.1开发的winforms应用程序?
您好
如果您可以强制申请使用.Net 2.0或更高版本打开,然后自动化将工作。您可以尝试使用此内容为您的应用添加配置文件。
<?xml version =" 1.0"?>
; < configuration>
< startup>
< requiredRuntime version =" v4.0" />
$
< supportedRuntime version =" v4.0" />
$
< / startup>
< / configuration>
这将迫使它使用.Net 4.0
谢谢
Siddhartha
Hi,
I read in the MSDN blogs that the UI Test Framework plugin for winforms automation which is used by the visual studio team test supports automation only for winforms applications developed in framework 2.0 or later.
I would like to know if there is any work around to use Visual studio team test for automating winforms applications developed with framework 1.1?
Hi
If you can force the application to open using .Net 2.0 or later then the automation will work. You can try adding a config file for your apllication with this content.
<?xml version="1.0"?>
<configuration>
<startup>
<requiredRuntime version="v4.0" />
<supportedRuntime version="v4.0" />
</startup>
</configuration>This will force it to use .Net 4.0
Thanks
Siddhartha
这篇关于VSTS是否支持使用框架1.1开发的winforms应用程序的自动化测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!