Web测试与CodedUI [英] Web test vs. CodedUI

查看:81
本文介绍了Web测试与CodedUI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我的客户要求我使用Visual Studio Team Test 2008进行自动功能测试。但是,在VS 2010中尝试CodedUI后,我相信我应该使用CodedUI,因为Web测试在HTTP层上工作 - 它不是"功能"的。就像我通常用bTP或RFT做的那样。


好吧,我正在写一个提案来说服我的客户,但我却陷入了寻找两者的优点和缺点的比较以及切换到VS 2010的一个关键原因。你知道,升级到VS 2010成本,所以让他说YES是不容易的。


任何建议,我真的很感激。

解决方案

Web Test和CodedUITest之间的基本区别在于,WebTest仅记录服务器调用并播放它们。它主要用于对后端进行功能测试,使用webtest还可以对后端进行性能测试。但是在
CodedUITest的情况下,它记录UI动作并通过UI上的动作播放它们。这里的重点是进行实际功能和场景级别测试。使用webtest,您可以找到后端逻辑问题,使用CodedUITest,您可以找到Backend
和UI问题。


要回答关于VS 2008 vs VS2010的问题,你会得到很多新的VS2008中没有的功能。特别是考虑到测试,我们增加了许多功能,例如测试用例管理解决方案,用于执行手动和自动化
测试用例的Rich工具集,支持各种MS平台的CodedUITest以及使用SQL Reporting Services和Excel& amp的丰富报告集; Datawarehouse集成。如果客户拥有VS2008许可证,那么现有客户可能会有超值
切换到VS2010。


您可以在CodedUITest上找到以下详细博客。


http://blogs.msdn.com/mathew_aniyan/pages /content-index-for-coded-ui-test.aspx


Hi All,

My client is asking me to do automated functional testing with Visual Studio Team Test 2008. However, after trying CodedUI in VS 2010, I believe I should use CodedUI because web tests work on HTTP layer - it is not "functional" like what I usually do with QTP or RFT.

Well, I'm writing a proposal to convince my client but I get stuck in finding advantages and disadvantages of both for comparison as well as a key reason to switch to VS 2010. You know, upgrading to VS 2010 costs, so it's not easy to make him say YES.

Any suggestion, I truly appreciate.

解决方案

Basic difference between Web Test and CodedUITest is, WebTest records only server calls and plays them back. It is mainly used to do functionality testing of the backend and using webtest you can also do performance testing of the Backend. But in case of CodedUITest it is recording the UI actions and playing them back through actions on the UI. Here the focus is to do real functionality and scenario level testing. With webtest you can find backend logic issues and with CodedUITest you can find both Backend and UI issues.

To answer your question on VS 2008 vs VS2010, you get lot of new features that is not available in VS2008. Particularly with repect to Test, we have added loads of features like, Test case management solution, Rich toolset to execute manual and automated testcases, CodedUITest that supports various MS platforms and Rich set of reports using SQL Reporting Services and Excel & Datawarehouse integration. If the customer has VS2008 licence there might interesting deals for existing customersto switch over to VS2010.

You can find detailed blogs below on CodedUITest.

http://blogs.msdn.com/mathew_aniyan/pages/content-index-for-coded-ui-test.aspx


这篇关于Web测试与CodedUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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