当前位置:网站首页>Advanced testers must see: basic knowledge of automated testing
Advanced testers must see: basic knowledge of automated testing
2022-07-18 07:48:00 【Love coriander】
The concept of automated testing
1、 First , What is automated testing ?
Automated testing is a process that transforms human driven testing behavior into machine execution .
2、 What are the main types of automated testing ?
Automated testing is generally divided into three types :
Unit automation testing
Interface automation testing
UI automated testing
The unit automation test is generally carried out by the R & D personnel , The tester mainly carries out interface and test UI Automated testing , But because of UI The demand for is changing frequently , So interface testing is what testers do most

3、 What are the patterns of automated test framework design ?
The patterns of automatic test framework design mainly include 4 Kind of :
Distributed
It means that the test requires multi-threaded or multi process testing on multiple computers , This mode is mainly used for large test cases. The commonly used tools are grid
Data driven mode
It refers to the separation of the test program from the data required for the test , Call the required data directly every time you test the program
Keyword driven mode
The mode mainly starts from who to do , How do you do it? , What to do is to derive from three elements , Just call the key function at a time , Even people who don't understand code can write . Now there are many automated testing tools , for example KAMA That's it , Testers only need to understand the logic of the test function and can write automatic test scripts by calling the internal functions of the tool
Hybrid mode
It refers to a mode using two or more of the above methods
02 Advantages and disadvantages of automated testing
1、 Advantages and disadvantages of automated testing
It mainly has the following advantages :
Regression testing is more convenient and reliable , Can run more 、 More cumbersome testing , And fast and efficient
Some manual tests can be executed, which are quite difficult or impossible , Such as a large number of concurrent users
Can make better use of resources , It has the characteristics of consistency and repeatability , Automated test scripts are completely reusable
Enhance the credibility of the software
It can be tested in multiple environments
The disadvantages of automated testing :
It can never completely replace manual testing . Automated testing cannot achieve the coverage of manual testing , Not every test case is suitable for Automation .
Found by manual testing bug Far more than automated testing
Automated testing is almost impossible to find new bug Of , The biggest use is to return to , Make sure you've been bug It doesn't reappear in the new version .
Automated test tools are rigid , Less flexibility . The effect of automated testing is good or bad , It's up to the test engineer .
High cost investment , High risk . High technical requirements for testers , It is also high for testing tools .
Test cases need to be updated according to version iterations , There is a certain maintenance cost
The output value of automated testing often lies in long-term regression testing , The role may not be obvious in the short term .

2、 Use scenarios
Suitable for the introduction of automated testing
regression testing , Repeated single data entry or keystroke and other test operations result in unnecessary waste of time and manpower
In addition, testers' understanding of programs and verification of design documents usually also rely on test automation tools
The use of automated testing tools is conducive to the generation of test report documents and the consistency of versions
Automation tools can determine the coverage path of test cases , Determine the coverage of test case set to program logic flow and control flow
Long project cycle , The system version is constantly changing , And requirements don't change frequently
The test object of the system can be identified normally , And whether it can provide a solution for unrecognized controls
There are not a lot of unrecognized third-party controls in the system
It needs to be tested over and over again , Such as reliability test 、 Regression testing requires thousands of system tests
Not suitable for automated testing
The project cycle is short , Requirements change frequently . Even projects with long cycles , If requirements change frequently , Nor is it suitable for automated testing
The software version is not stable , When the main function or a large number of functions may be changed again , Nor is it suitable for automated testing
There is no clear project plan for automated testing 、 Measures and management
Most objects are unrecognized , And script maintenance in frequent and difficult situations , Test automation is not recommended
Friends who like software testing , If my blog helps you 、 If you like my blog content , please “ give the thumbs-up ” “ Comment on ” “ Collection ” One Key triple connection !
边栏推荐
猜你喜欢

Penetration test process

软件架构与设计(四)-----数据流架构

驳'一切不谈考核的管理都是扯淡'
![[basic use of oscilloscope] and [introduction to the meaning of each key on the oscilloscope key panel]](/img/b7/d2d60ac3c3c1001d49073ea39c2851.png)
[basic use of oscilloscope] and [introduction to the meaning of each key on the oscilloscope key panel]

Why can MySQL temporary tables have duplicate names?

(Dell Lingyue 7572) after the laptop expands the display, the laptop has no sound

Pytorch中torch.nonzero()函数解析

(开源项目)abattoir unity游戏

根据经纬度计算两点之间的距离

OpenHarmony安全模块之AES加密学习
随机推荐
Record the use of yolov5 (1)
How to make Sitemaps website map
想到多线程并发就心虚?先来巩固下这些线程基础知识吧!
LINQ implements dynamic orderby
一家火锅店,凑了三个IPO
JVM tuning command encyclopedia and common command tools and practical steps
Redis+Caffeine两级缓存,让访问速度纵享丝滑
Pytorch中torch.numel(),torch.shape,torch.size()和torch.reshape()函数解析
进阶测试人必看:自动化测试入门基础知识
我的一周年创作纪念日
30岁被裁,我想明白的几件事
Numpy gets a row and a column of a two-dimensional array
【英雄哥七月集训】第 15天:深度优先搜索
Pytorch中torch.full(),torch.ones()和torch.zeros()函数解析
Think of multithreading concurrency is guilty? Let's consolidate these basic knowledge of threading first!
云上数字创新,如何塑造一座城市的幸福感?
My first anniversary of creation
OpenHarmony模块二下文件samgr_server解析(1)
Parsing of header file under interfaces in module 2
Openharmony module II parsing of header files under interfaces (9)