当前位置:网站首页>Development to testing: a six-year road to automation from scratch
Development to testing: a six-year road to automation from scratch
2022-07-26 22:03:00 【Xiaowu knock code】
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 .
Finally, thank everyone who reads my article carefully , The following online link is also a very comprehensive one that I spent a few days sorting out , I hope it can also help you in need !

These materials , For those who want to change careers 【 software test 】 For our friends, it should be the most comprehensive and complete war preparation warehouse , This warehouse also accompanied me through the most difficult journey , I hope it can help you ! Everything should be done as soon as possible , Especially in the technology industry , We must improve our technical skills . I hope that's helpful ……
If you don't want to grow up alone , Unable to find the information of the system , The problem is not helped , If you insist on giving up after a few days , You can click the small card below to join our group , We can discuss and exchange , There will be various software testing materials and technical exchanges .
Typing is not easy , If this article is helpful to you , Click a like, collect a hide and pay attention , Give the author an encouragement . It's also convenient for you to find it quickly next time .
Self study recommendation B Stop video :
Zero basis transition software testing : Self taught software testing , Got the byte test post offer, Is the B The best video station !
Advanced automation testing : Huawei has landed , Salary increase 20K,2022 Most suitable for self-study python Automated test tutorial , Spend it yourself 16800 Bought , Free sharing

边栏推荐
- [MySql]substr用法-查询表的某个字段的具体位数的值
- OPPO 自研大规模知识图谱及其在数智工程中的应用
- Also on Data Governance
- Attack and defense world ----- ics-07
- 45. Instance segmented labelme dataset to coco dataset and coco dataset to labelme dataset
- 仅需一个依赖给Swagger换上新皮肤,既简单又炫酷
- What to do if the browser home page is tampered with, and how to recover if the home page is tampered with
- Knowledge base tools | wechat, document center, image display page can be generated by dragging (with template, directly used)
- When deploying Flink on a single machine and creating the connection table of oracle19c RAC, the error ora-12505 is reported. Who can help
- Isilon's onefs common operation commands (I)
猜你喜欢

matlab 画短时平均幅度谱

Just one dependency to give swagger a new skin, which is simple and cool

补充—非线性规划

Also on Data Governance

彻底搞通服务发现的原理和实现

我的sql没问题为什么还是这么慢|MySQL加锁规则

Oppo self-developed large-scale knowledge map and its application in digital intelligence engineering

LDAP——实现用户统一登录管理

A new technical director asked me to do an IP territorial function~

Supplement - nonlinear programming
随机推荐
Pytorch squeeze() unsqueeze() 用法
Jd.com: how does redis realize inventory deduction? How to prevent goods from being oversold?
Knowledge base tools | wechat, document center, image display page can be generated by dragging (with template, directly used)
Go----Go语言中的变量使用方法
Flag decodes token, mounts token, decorator, and seven cattle cloud upload
Isilon 的OneFs常见操作命令(一)
Triangular wave spectrum of MATLAB excitation model
Keyword maintenance of dream weaving document doesn't work
What to do if the browser home page is tampered with, and how to recover if the home page is tampered with
flask 源码启动阶段
Go----Go 语言中的标识符和关键字
FreeRTOS personal notes - Events
我的sql没问题为什么还是这么慢|MySQL加锁规则
6、 Wechat applet release process
京东一面:Redis 如何实现库存扣减操作?如何防止商品被超卖?
Pytorch torch.add() torch.add_() 用法
FreeRTOS个人笔记-软件定时器
Tester: "I have five years of testing experience" HR: "no, you just used one year of work experience for five years."
Logical vulnerability - arbitrary account registration
Circular progress bar animation based on cashapelayer and Bezier curve