当前位置:网站首页>Having met a tester with three years' experience in Tencent, I saw the real test ceiling
Having met a tester with three years' experience in Tencent, I saw the real test ceiling
2022-07-25 21:58:00 【TEST_ Two black】
Automation for the first time
As a tester , We have all heard or used automation more or less , When we first entered the testing industry , Full of expectation, I thought that the end of the test was that there was no need for testers to nod , Project 1 test , Click the automatic switch with a small hand , The instant test is finished .
This is what I was most curious about when I first switched from development to testing , With this curiosity , I joined the newly established automation group of the company with passion , Find out how to get rid of manual labor and complete the test , Does is 6 year .
Next , Introduce the use process of our automation in the company one by one , I hope it can enlighten you , Help .
Automatic start up
I believe that every company that builds an automation team , Undoubtedly, I don't want to improve work efficiency through automation 、 Save time 、 Save manpower .
But there is a fatal place , Many people who first drafted Automation , He may not understand the essence and characteristics of Automation , Just know “ Automation can improve efficiency like other companies ”, This is what we did 3 The truth realized after automation in .
This is not criticism 、 Blame who , I'm grateful to walk through that 3 year , Every section of life is not wasted , It makes me deeply realize what kind of approach is feasible and what kind of approach is not feasible .
I say it here , I just think it doesn't take so long for the latecomers to understand , I hope you have a more comprehensive understanding of automation before making decisions .
2016 year , The leader decided that the testing department should do Automation , It was not long before I switched from development to testing , Still doing functional tests ( Experience the function test stage ), After a period of time, I feel very cumbersome , In addition, I am usually looking up information in the field of Automation .
therefore , When leaders say they want to set up an automation group , I'm so excited , Decide to join the automation group , I thought I finally had a real chance to try this new thing of Automation .
Although I have some poor development skills , But after all, there is no actual combat Automation , So we recruited a big bull in the direction of automation from the outside .
Technology is different , Just use 2 Zhou set up our automation project architecture , And the related package extraction . At that time, I really knew Selenium、Webdriver、TestNg、Jenkins Workflow and usage of an integrated automation system .
Write here , You probably already know , What we have achieved is a set UI Automation solutions . The framework is finished , The rest starts to collect use cases 、 Conversion script , Also in the process of writing scripts , I gradually learned how the so-called automated testing is automated .
Early Automation , We have little experience , We only know that we should at least automate the common mainstream use cases .
therefore , So I began to extract the use cases of this type of a module based on my understanding of the business in functional testing for several months , Technical Daniel and I have transformed these use cases , This process , For me, I learned a lot , got it PO Pattern 、 Data driven 、 Element positioning and some pits inside .
Writing scripts is easy for me , Soon we finished a phase of automation use case , Then integrate these use cases into Jenkins On , thus , Even if automation is in initial operation .

Explore the meaning of Automation
After the first phase of script conversion , Start to plan the script development of phase II without stopping . For a long time , I think we seem to lose the meaning of doing Automation , We have completed script development , Why not ? How can we use it in our work ?
When what you do doesn't play its value in your work , People who do this will gradually lose their enthusiasm for this job , Because he didn't get feedback , He doesn't know where the next goal is . Of course , Also will continue to do some dispensable work .
The following year , That is to say 2017 year , The leader began to think of ways with us , The first way is to talk to the function tester , What modules and use cases have been automated , Let them in the process of testing , If you need to execute that type of use case , Just go to Jenkins On the implementation .
It has been proved by trial operation for a period of time , Don't try to do a good job by free and voluntary means .
Most people don't choose to use automation , Even if his project can be used . There are also some students who want to use it , Because I don't know development related technology , Will not analyze the problem when it goes wrong , Often need to find automation developers to help see , Combined with the , In the early UI Automated scripts are really not that stable , The probability of running wrong is higher .
The reason why there is no need for automation comes out :
1、 Not interested in , I think manual measurement is very good ;
2、 Want to use , However, I have a lack of Technology , Won't analyze script problems , Make it more difficult to use ;
3、 Want to use , But the stability of the script is too poor , Lose trust in Automation .
Compared with other colleagues , Think of yourself as an automation enthusiast , I don't believe that automation can't work . assume , It must be because you can't use it yourself . therefore , I applied for a period of testing suitable for automation application modules .
How did I do it ? following , It is a flow chart of automation application in normal project testing , I still use this idea today .
Follow this process , Stumbled over several projects . The real effect is :
1、 Some problems were found after using automation , But the analysis shows that it is a bug It's really not obvious to the naked eye ;
2、 In terms of efficiency , If the input cost is considered / Produce , It doesn't improve my testing efficiency much , But if it is a script development and maintenance , Many people use , That's different ;
3、Jenkins It is not so convenient to execute use cases on , Often look dizzy .
Only after I really participated in the use of our automation did I realize , There are many imperfections in our automation , Then I finally know , The next step is to know the direction of adjustment .
About how to learn advanced knowledge of software testing , Gold nine silver ten sprint to get a high salary offer, You can refer to this summary and benchmarking by Tencent boss T7 Of 《 Software test engineer development direction knowledge architecture system diagram 》, I'd like to share with you today . I hope it can bring convenience to friends who do software testing , Little detours , Can form a set of their own methods , And applied to practice .
One 、 Fundamentals of testing
Understand the basics of testing , Master the use of mainstream defect management tools , Proficient in the operation and maintenance of test environment 
Two 、Linux You're supposed to know
Linux As the most popular software environment system now , It must be mastered , The current recruitment requirements need to have Linux Ability .
3、 ... and 、Shell Script
master Shell Script : Include Shell Foundation and Application 、Shell Logic control 、Shell Logical functions 
Four 、 The principles of the Internet
The only way for Automation : Basic knowledge of front-end development and essential knowledge of Internet network 、 The principles of the Internet 
5、 ... and 、MySQL database
Software test engineer must MySQL Database knowledge , It's not just about basic “ Additions and deletions ”.
6、 ... and 、 Caught tools
Fiddler,Wireshark,Sniffer,Tcpdump Various bag capturing tools are suitable for various projects , There's always one for you 
7、 ... and 、 Interface testing tool
Interface test artifact , Powerful tools you can't get around :Jmeter. Small and flexible :Postman
8、 ... and 、Web automated testing Java&Python
Understand the purpose of Automation , Have a good command of TestNG&unittest Automation framework , And assertion and log processing

Nine 、 Interface and mobile automation
Professional interface call 、 Test solutions . Build a complete web And interface automation framework ,Appium Overall use 
Ten 、 Agile testing &TestOps structure
uncover TestOps The veil of mystery , Continuous integration Jenkins The frame is familiar with the heart 
11、 ... and 、 Performance testing & Security testing
The other side of software testing : Performance testing and security testing , Choose a direction and try to climb the pit !
边栏推荐
- Collation of SQL statement exercises
- Jmeter--- set proxy recording request
- YUV420 YUV420sp 图像格式「建议收藏」
- Ability to choose
- 【测开方法论】测开平台pk心得-抉择
- [interview: concurrent Article 23: multithreading: Join] re understanding of join
- sql语句练习题整理
- 【饭谈】如何设计好一款测试平台?
- dovecot 设置邮箱quota
- Idea resolves the prompt of profile properties disappear
猜你喜欢

Animation curves are used every day. Can you make one by yourself? After reading this article, you will!

Bitcoin.com:usdd represents a truly decentralized stable currency

6-17漏洞利用-反序列化远程命令执行漏洞

2 lines of code to generate a solid desktop background
![[hand torn STL] unordered_ set、unordered_ Map (encapsulated with hash table)](/img/33/08f7b72ce99e07821a1f4b6e594e13.png)
[hand torn STL] unordered_ set、unordered_ Map (encapsulated with hash table)

919. Complete binary tree inserter: simple BFS application problem

磁盘空间的三种分配方式

I'm also drunk. Eureka delayed registration and this pit!

2022 love analysis ― bank digitalization practice report

Ansible+cronab batch deployment patrol
随机推荐
再次来光顾
动画曲线天天用,你能自己整一个吗?看完这篇你就会了!
C语言:随机生成数+冒泡排序
Unity metaverse (II), mixamo & animator hybrid tree and animation fusion
[database] conceptual design, logical design, relational database design theory
Dovecot set mailbox quota
In Oracle 19C version, logminer package continuous_ The outdated function of mine leads to CDC failure
2 lines of code to generate a solid desktop background
jsp九大内置对象
redis主从架构锁失效问题(主从)
Optimization analysis of storage structure and IO performance of openharmony littlefs file system
【饭谈】那些看似为公司着想,实际却很自私的故事 (一:造轮子)
[MAIXPY]kpu: load error:2005, ERR_READ_FILE: read file failed问题解决
在进行自动化测试,遇到验证码的问题,怎么办?
JSP初识
sql语句练习题整理
Basic knowledge in the project
zigbee开发板(nxpzigbee开发)
JMeter websocket接口测试
[interview: concurrent Part 24: multithreading: comprehensive exercise] sequence control