当前位置:网站首页>10 year old drivers who have been engaged in software testing tell you what type of software is suitable for automation
10 year old drivers who have been engaged in software testing tell you what type of software is suitable for automation
2022-06-24 06:07:00 【Code start】
Not all software projects are suitable for automation
- Preface
- What is automation
- Why automate
- Advantages and disadvantages of automation
- What kind of projects are suitable for automation
- What kind of people are suitable for automation
- If you have a code base , How to learn if you want to engage in automated testing ?
Preface
I have met many colleagues , Because they've been doing manual tests before , Now I'm eager to do automated testing , There is no lack of work 5 More than one year old . I have been engaged in software automation testing for nearly 5 year , from server End to web End , from API To mobile, Experience the benefits and pain of Automation , Share your personal experience here , Want to automate , First, you have to understand some common problems of automated testing
What is automation
- automated testing , seeing the name of a thing one thinks of its function , Automatically complete the test work . Through some automatic testing tools or self-made wheels, we can realize the manual point before simulation / Write the work and verify the results to complete the whole testing process , This kind of testing process , It's automated testing .
- automated testing , It looks beautiful , It feels like the first industrial revolution , It ushered in the era of replacing manual labor with machines , But it is not . Because every automated test is case It all starts with manual testing
- If there is no basis for manual testing , There is no way to automate testing
Why automate
Why automated testing , The answer lies in the benefits of automated testing and the cost of human flesh testing :
a. Automated testing saves cost ( According to the project )
After all, automated testing does liberate a lot of manpower ( The cost of labor is IT The company's biggest cost ), The machine can perform some repetitive work day and night .
b. Some test projects are hard to implement by hand ( The cost of manual work is high )
such as 12306 The stress test of 、 The load test , At the same time to find so many people to test the unreality can be simulated through the machine .
c. The project quality process requires
For example, version management needs build verify, In order to make sure check in Of code It doesn't affect the repository . Be similar to smoke test
Advantages and disadvantages of automation
advantage
- Avoid boredom of testers due to repetitive work
- Improve test efficiency
- Ensure consistency and repeatability of each test
- Better use of unattended time
- Do some tests that can't be done by hand
- Maintenance costs are relatively high
shortcoming - System development time may not be shortened
- No manual test found many defects - UI layout issue Hard to find
What kind of projects are suitable for automation
Projects with the following characteristics are more suitable for automated testing :
- Less project change
- Cycle is long
- Project resources are sufficient ( Automation is not done by one person , It needs a group of people to maintain it for a long time )
Illustrate with examples : Internet Project , It's going online in a week , If you don't go online, others don't need you , The project cycle is short , Change fast , You haven't done automation yet , Maybe the project will be offline . For example, some gems 12 Activities related projects , It's offline in a week . Projects suitable for automated testing , For example, a certain treasure client , Every release, Most of the features remain the same , also 3-5 The project will not go offline within the year , This is more suitable for automation .
What kind of people are suitable for automation
This question is for people who want to do automated testing , Maybe you think the threshold of software testing is very low , So low that anyone can do , Just a little , This industry is too low 了 , So you want to do automated testing , Improve your style , I want to say that manual testing is not low, If one doesn't understand anything , People who have no business foundation do tests , Can you measure the problem ? Don't ignore your business knowledge reserve .
The accumulation of your business knowledge can make you an irreplaceable industry expert , The automated yard farmers' Association has been replaced by small fresh meat because of the change of times .
If you want to learn to communicate , Join us soon :893694563, Group learning software testing , Share technology and learning materials , Grow and learn with you .
That's all , What kind of people can do automated testing ?
My understanding is divided into several points :
a. Have code capabilities
Master a development language ,java、Python、ruby、c#
b. Be familiar with the tested system
For example, you are web test , You have to understand js、css、html、xpath
You are a mobile test , You have to have Android Development basis and iOS Development infrastructure , Meeting debug app
You are a C/S You need to be familiar with the test TCP、IP agreement
c. Master a set of automatic testing framework ( Tools )
such as selenium/appium
nunit/testng
robot framework/cucumber
d. Good at learning , To know what it is to know what it is
IT The industry is changing too fast , Something new will appear every once in a while , There will also be things that used to be very hot gradually decline , No one can predict .
Once Nokia was the mobile phone overlord , Dominate the world by Saipan , But don't think about making progress , End up selling for survival .
once qtp A fire , once selenium It's also very hot , Now? appium It's also very hot
Software industry from desktop software to web End , Again from web End to mobile , No one knows what's next . And we act as Practitioners in the software industry , You can't let yourself fall because those things that are very hot are no longer hot , A person is the most nuclear The ability of the mind is the ability to learn , If you are good at learning , You don't have to worry about these changes , Because you can move without pressure ,selenium You have mastered the principle of , Study appium It's a piece of cake , because appium It uses selenium WebDriver protocol . If you can know what it is and why , You can also make wheels , reform appium, After all, many functions need to be improved now .
If you don't reach the above points , I suggest you do a manual test .
If you have a code base , How to learn if you want to engage in automated testing ?
Many beginners are tangled , learn qtp Or learn selenium
My suggestion is to learn selenium, Open source , Free of charge , You can download the source code research , To understand how it works , And now selenium Don't have too much information , Just search a lot , It's easier to learn .
Recording is not recommended ~~~
It's not recommended to learn selenium IDE Recording , Of course, you can learn by recording some and then converting them into corresponding scripts , When you learn selenium, Learn again appium You will have a natural deja vu . Why not suggest learning QTP/UFT? Because of the charge / Overstaffed / Now there is not much work to do desktop software testing .
About buying books , It is not recommended to buy books , Many books are out of date , And quality slag , You bought... From those books code It's no longer usable , If you really want to learn , Just go to the official website to find example, Go to the corresponding community and group communication , Or look directly at API/ Source code .
边栏推荐
- C51 single chip microcomputer, an entry-level tutorial for lighting up small lights
- One line of keyboard
- How about the XYZ domain name? What are the advantages over other domain names?
- Realization of data transmission between a and B computers by using single chip microcomputer serial port
- Royal treasure: physical storage medium
- You don't have to spend a penny to build a wechat official website in a minute
- Sub process call - process arrangement in complex O & M scenarios
- The website cannot be opened after windows installs the dongle
- Malicious software packages are found in pypi code base. Tencent security threat intelligence has been included. Experts remind coders to be careful of supply chain attacks
- Why migrate dig to wire
猜你喜欢
随机推荐
How about the XYZ domain name? What are the advantages over other domain names?
What happened to the JVM locking on Tencent ECS?
Why storage?
You don't have to spend a penny to build a wechat official website in a minute
Domain name, resolution, SSL certificate product selection
How to use ffmpeg one frame H264 to decode yuv420p in audio and video development?
New core and new speed - next generation standard O & M engine
How to record the domain name reliably? What are the consequences of not filing a domain name?
How to build a website after successfully registering a domain name? Can I build a website without registering a domain name?
Member management system PC side building tutorial (I)
Risc-v instruction set explanation (4) R-type integer register register instruction
The company is worried about customer frustration and brand damage caused by DDoS Attacks
How to register the company domain name mailbox? Is the operation process complicated
Inferior administrator and black heart Haikang
Load balancing on Tencent cloud
Enterprise management background user manual
Test development knowledge map
Working principle and type selection of signal generator
How to use the domain name? What domain name should be selected to purchase
Tencent Youtu presents a number of AI technologies at the 2021 global digital economy conference



