Byte's 8 years of testing experience, 6 suggestions for students who want to learn automated testing

å¯è½æ¯ç®åæå¨ç Androidé¢è¯é¢å¤§å¨ ä¸é«çº§

At the beginning of my career, like most testers, I started with pure functional interface testing. At that time, I was doing testing in an e-commerce company for a period of time. After being familiar with the business process of the product and proficient in testing the workflow specifications, the efficiency increased, the work was easier, and I got better opportunities to develop. Later, I advanced to automated testing, and then to test development . Unknowingly, I have 6 years of test development experience , and my monthly salary has also exceeded 30k+ . I was also honored to stay in the Meituan test development framework team and build the Meituan platuo. Test framework , thrift test framework, automated test platform, which also made me familiar with python3, java, vue, and successively built automated test frameworks from 0 to 1 in many companies to ensure the quality of over 100 million traffic services ,Based on my experience, 6 suggestions for students who want to learn automated testing

First piece of advice: learn a programming language first, and then move on to automation tools.

It is possible to choose Java or Python as the language. You can start with Python first, and then start Java. In the process of learning a language, you must forget that you are doing testing, and treat yourself as a developer, and systematically learn related programming knowledge, because the level of language largely determines the level of automation.

The second suggestion: Lay a good foundation instead of learning automated testing tools with the cart before the horse

If you don't understand the http protocol, you won't understand tools such as loadrunner, fiddler, and soapUI; if you don't understand HTML, you won't understand

firebug. So if the foundation is laid well, we will get twice the result with half the effort.

The third suggestion: clearly recognize yourself and define your goals

To put it bluntly, before we do anything, we must first check how much we have, right? First, evaluate your current ability level, and then see what kind of resources (energy, time, money) you can invest in learning , so that you will know what kind of content you can understand, which stage you should ask the big cow, don't get more and more confused in the end; secondly, after recognizing your ability, you must set a reasonable goal for yourself, how long will it take? to what level.

The fourth suggestion: Choose a good entry point and design a plan that will help you the most

  • Python+Unittest+HtmlTestRuner+Jenkins和Java+Httpclient+TestNG+Jenkins
  • web automation: Python+Webdrver+HtmlTestRunner+Jenkins, Java+Webdriver+TestNG+Jenkins
  • APP automation: Robotium+Java+TestNG+Jenkins, Appium+Java+TestNG+Jenkins, Appium+Python+HtmlTestRunner
  • Auxiliary test script
  • : Based on Shell and Python to simplify repetitive work, filter logs, etc.

Of course, these are the basic implementation solutions, and others will not be introduced first. If you are just getting started, I suggest that after choosing a language, start with interface testing, and then learn web and APP automation.

The fifth suggestion: learn to infer other things from one instance

Novices are easy to be anxious and want to learn everything, which is easy to confuse and difficult to digest. Many places are connected, code structure, use case management, etc. can be used by analogy, which can not only improve your learning efficiency, but also avoid confusion. The most important thing is not to talk about it on paper, but to put it into practice.

Sixth suggestion: Don't be limited by tools, use open source more

In the testing industry, there are many automated testing tools, but large companies tend to use open source frameworks and tools, and then customize their own testing solutions. Learn to use some open source tools such as Webdriver, Appium, etc. to build your own automated testing projects, and then master the overall automation working principle, and prepare for building your own tool platform in the future. After all, automation is not as simple as using a few tools .

The highest state of automated testing: develop testing tools, design automated frameworks, and let others use them.

The ultimate route for automated testing learning, starting with language, to get automated testing done

Master Python or Java language, it is recommended to start with Python

Basic language knowledge, syntax, functions, modules, input and output, object-oriented programming,
scripting
, standard library, multithreading, third-party library, external data processing
unittest, pytest test framework, parameterization, data-driven

Automated testing on the web

Selenium installation, recording, processing
web controls, JavaScript scripts, PO mode

Automated testing of mobile APP

Appium use, recording, element positioning methods
APP control positioning, interaction, parameterized use cases
appium problem positioning analysis, source code analysis, secondary packaging

Automated testing of server interface

Interface Automated testing framework

request
interface request construction, assertion
json/xml request, response assertion

headcookie processing, authentication system

If you follow this learning route to thoroughly understand automated testing, then a monthly salary of 15-25K is very easy, and with the ability to code, you can continue to work hard on test development!

Write at the end:

No matter what kind of identity you are in the test team, no matter what your perception of automated testing is, and no matter whether you love or hate automated testing, automation is a must for you to switch from manual testing to test development road.

Maybe you will hear negative feedback such as high cost, poor effect, and low efficiency of automated testing, but you must clearly know that this is not a problem with automated testing. For a certain tool, a certain solution, the final effect depends on the implementation. Those who come and go decide.

What we can do is to face up to automated testing, find the right method, and constantly improve ourselves!

meager strength

Finally, I would like to thank everyone who has read my article carefully. Seeing the fans’ growth and attention all the way, there is always a need for reciprocity. Although it is not a very valuable thing, you can take it away if you need it:

These materials should be the most comprehensive and complete preparation warehouse for friends who want to advance [automated testing]. This warehouse has also accompanied me through the most difficult journey, and I hope it can help you too! Everything should be done as early as possible, especially in the technical industry, we must improve our technical skills. I hope to be helpful…… 

Guess you like

Origin blog.csdn.net/m0_58026506/article/details/130138221