VSTS是否支持使用框架1.1开发的winforms应用程序的自动化测试 [英] does VSTS support automation testing for winforms applications developed with framework 1.1

查看:86
本文介绍了VSTS是否支持使用框架1.1开发的winforms应用程序的自动化测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在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屋!

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