测试自动化 [英] Test Automation

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

问题描述

自动化手动测试用例的最佳方法是什么?在哪里可以了解自动化的细微差别?

解决方案

Hi MayankJaiswal,


欢迎来到MSDN论坛。


你对手动测试是什么意思case?


据我所知,有几种类型的自动化测试:


如果要验证项目中类或方法的逻辑,可以使用单元测试
单元测试旨在独立于世界其他地方测试代码的一小部分(单个类/方法)。


https ://docs.microsoft.com/en-us/visualstudio/test/walkthrough-creating-and-running-unit-tests-for-managed-code


如果你想对项目中的用户界面控件执行操作,并验证正确的控件是否显示正确的值,
你可以使用编码的UI测试。
UI测试可能是系统/功能/验收测试的不同名称,您可以在一起测试整个系统
,以确保它在现实生活环境下完成它应该做的事情。 span>


https://msdn.microsoft.com/en-us/library /dd286726.aspx#VerifyingCodeUsingCUITCreate


问候,


Judyzh


What is the best way to automate manual test cases and where can I learn the nuances of automation?

解决方案

Hi MayankJaiswal,

Welcome to the MSDN forum.

What do you mean about manual test case?

As far as I know, there are several types of automated tests:

If you want to verify the logic of a class or method in your project, you could use Unit Testing. Unit testing aims to test small portions of your code (individual classes / methods) in isolation from the rest of the world.

https://docs.microsoft.com/en-us/visualstudio/test/walkthrough-creating-and-running-unit-tests-for-managed-code

If you want to perform actions on the user interface controls in your project and verify the correct controls are displayed with the correct values, you could use Coded UI Testing. UI testing may be a different name for system / functional / acceptance testing, where you test the whole system together to ensure it does what it is supposed to do under real life circumstances.

https://msdn.microsoft.com/en-us/library/dd286726.aspx#VerifyingCodeUsingCUITCreate

Regards,

Judyzh


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

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