当前位置:网站首页>How to learn automated testing? Can you teach yourself?
How to learn automated testing? Can you teach yourself?
2022-07-24 20:23:00 【Zeze said test】
First , You need to be prepared , It's not about Automation , There is no need to do manual testing . Automated testing cannot completely replace manual testing , Some test scenarios , The cost of automation is significantly higher than that of manual .
secondly , Let's simply classify the usual testing work , The most common manual testing is interface based testing , Usually, the whole process can be connected . But for layered testing , Interface testing is a way of higher return , The application of automated testing in interface testing is the most common . Of course , And performance , Security , These are generally realized by automation .
then , Let's talk about skills . Skills are generally divided into tools and code , They can achieve the effect of automated testing . If the code ability is poor , Generally, some tools will be used first , Then I will improve my programming ability . And it must be noted that , The ability of business testing must not be lost .
Tools commonly used are jmeter, postman Such a tool , Now there are also some problems in China, such as metersphere, apifox And other automated tools , You can get to know , among , Personally, I think jmeter It is the key to master , Its ability is strong enough , It can do the interface test of the whole process , You can also do performance tests .
Then there are the tools on the interface , Generally, it integrates recording and playback functions , Then generate code snippets , And some traversal tools . image selenium ide, cypress, katalon studio wait . cypress It will be more popular , But it needs to be a little javascript Basics . This kind of tool is not very practical , Or the mobility is poor , Or it is not widely used , There is also the high cost of learning .
Next , Talk about programming . After knowing some tools , Generally, I will master oneortwo programming languages . One side , Being able to program will have a better career prospect , On the other hand , Many tools will support customizing scripts through programming .
The choice of programming language , The testing field is generally python and java, If you haven't touched , Just choose one of two . If the front end measures more , Demand is high , You'd better learn javascript. For testing , When I first started , I don't think it's necessary to be proficient , Spend too much time on the advanced usage of various programming languages , It's almost enough to write test cases , Improve at work .
After mastering the programming language , Will be exposed to a variety of frameworks and libraries , They are going to do specific testing work . With Python For example , Write use cases , Use case collection , Use case run , Test report generation will use the unit test framework , such as unittest and pytest.
Interface automation generally uses requests / aiohttp / httpx This library , The interface side will use things like selenium / playwright / appium /airtest Such a framework , Performance will use jmeter/ locust Such things .
Take them as the core , Most of the test scenarios and technologies to be implemented , Rarely write from scratch , Specific libraries will be used , For example, how to operate csv file , How to operate yaml, How to realize parameterization , How to control the database , How to deal with data dependency , How to generate data , How to clean up garbage data , How to achieve concurrency , How to do distributed processing , How to integrate , How to deploy an automated execution environment , I won't talk about it one by one .
Let's talk again .
The end of this paper , If it's not fun , I also sorted out the complete notes from the introduction to advanced software testing , You can click to view
What does software testing need to learn ?
The contents that have been updated include Selenium Web side web automated testing :
One 、 Why Selenium Do automated tests
Two 、Selenium chromedriver Installation tutorial and quick use
Four 、Selenium How elements are positioned
5、 ... and 、Selenium The way to wait
6、 ... and 、Selenium Scrolling pages
7、 ... and 、Selenium How to use POM Hierarchical mode
8、 ... and 、Selenium Keyword driven automated test framework
Appium Mobile App automated testing
One 、Appium Environment construction nanny level tutorial
Two 、Appium Get started quickly in five minutes
3、 ... and 、Appium How to locate elements
Four 、Appium The core API operation
5、 ... and 、Appium Get and click coordinates
6、 ... and 、Appium Zoom in and out of the picture
7、 ... and 、Appium H5 How to test the page
8、 ... and 、Appium 2.0 Release , How to upgrade
Nine 、Appium How to do concurrent testing
Come in and have a look :
Software testing and automated testing learning roadmap
边栏推荐
- API data interface of A-share transaction data
- Make Huawei router into FTP server (realize upload and download function)
- 【LeetCode】1184. 公交站间的距离
- Get the current time in go language, and the simple implementation of MD5, HMAC, SHA1 algorithms
- Xiaomi 12s ultra products are so powerful, but foreigners can't buy Lei Jun: first concentrate on the Chinese market
- The U.S. economy continues to be weak, and Microsoft has frozen recruitment: the cloud business and security software departments have become the hardest hit
- "Six pillars of self esteem" self esteem comes from one's own feelings
- Home Assistant中接入博联WiFi智能遥控
- When using vscode, the tab indentation changes from 4 spaces to small arrows (solved)
- Introduction to WDK development 1- basic environment construction and the first driver (VS2010)
猜你喜欢
![[training Day8] tent [mathematics] [DP]](/img/d3/42869ed5bb7c9148d9fa7367a9af02.png)
[training Day8] tent [mathematics] [DP]

Redis basic knowledge, application scenarios, cluster installation

Login Huawei device in SSH mode

Near infrared dye cy7.5 labeling PNA polypeptide experimental steps cy7.5-pna|188re labeling anti gene peptide nucleic acid (agpna)

Setting up a dual machine debugging environment for drive development (vs2017)
![[training Day9] light tank [dynamic planning]](/img/69/e7a69972a2865408479c7f8c245c1f.png)
[training Day9] light tank [dynamic planning]

Fluoronisin peptide nucleic acid oligomer complex | regular active group alkyne, SH thiol alkynyl modified peptide nucleic acid

C form application treeview control use

Valdo2021 - vascular space segmentation in vascular disease detection challenge (2)

Safe way -- Analysis of single pipe reverse connection back door
随机推荐
Hcip early summary
Mysql8 doesn't seem to support MyISAM partition tables. Does polardb-x support MyISAM partition tables?
Richview table table alignment
[JVM] selection of garbage collector
[training Day8] [luogu_p6335] staza [tarjan]
Guys, I have no problem running locally in diea, running on the server. What's wrong with the lack of CDC connection? The database IP can be pinged
Understand the domestic open source Magnolia license series agreement in simple terms
PD user manual
The difference between map and flatmap in stream
The U.S. economy continues to be weak, and Microsoft has frozen recruitment: the cloud business and security software departments have become the hardest hit
Modbus communication protocol specification (Chinese) sharing
微服务架构 | 服务监控与隔离 - [Sentinel] TBC...
Covid-19-20 - basic method of network segmentation based on vnet3d
Google's display of Chrome browser icons was abandoned, and it was intended to be a small rocket
Modulenotfounderror: no module named 'pysat.solvers' (resolved)
[training Day10] silly [simulation] [greed]
API data interface for historical data of A-share index
In the era of new knowledge economy, who is producing knowledge?
Xiaomi 12s ultra products are so powerful, but foreigners can't buy Lei Jun: first concentrate on the Chinese market
MySQL stored procedure