In the test post in 2023, how can I advance in automated testing? Roll out direction...


foreword

Lay the foundation of programming language first

Python automated testing: https://www.bilibili.com/video/BV16G411x76E/

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.

clear 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

Two major language automation supporting options

Python
interface automation: Python+requests+pytest+yaml+alluer+Jenkins;
WEB automation: Python+selenium4+pytest+POM+allure+Jenkins;
APP automation: Python+appium+POM+pytest+allure+Jenkins;

Java
interface automation: Java+Httpclient+TestNG+Jenkins
WEB automation: Java+Webdriver+TestNG+Jenkins
APP automation: Appium+Java+TestNG+Jenkins, Robotium+Java+TestNG+Jenkins

Of course, these are the basic implementation solutions, and others will not be introduced first. If you are just getting started, start with interface automation, and then learn web and APP automation.

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.

Use open source frameworks and tools

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.

Interface automated testing: You need to be familiar with the Python language, and then learn Python's networking library Requests on the basis of the Python language, which needs to be packaged into a test script. At this time, you need Pytest+allure unit test library or use Unittest+HtmltestRunner to control the script to generate test reports. If you need continuous integration, you can learn Jenkins again

Web automation: You also need to master the Python language, and then learn the library Selenium that Python controls the browser, and the Webdriver relative to the browser

APP automation: You need to be familiar with the Python language, and then on the basis of the Python language, learn Python to control the mobile APP library APPium. Mobile phone-related knowledge such as Adb and Activity needs to be packaged into test scripts.

Automated testing framework (internal and external frameworks)

Interface automation and web automation are the mainstream of various enterprises.

The design idea of ​​the framework
can divide the main body of the automated testing framework into two parts, one is the internal framework and the other is the external framework. The internal framework is the test framework code implemented by ourselves, and the external framework is to put aside the core code we implemented to achieve automation. Some third-party tools used when testing some original content of the framework design.

External framework: mainly refers to webdriver as the core, supplemented by external third-party frameworks and tools. It is used to realize functional frameworks such as continuous integration, automatic deployment, script execution, remote invocation, report optimization, mail sending guide, etc., and realize some peripheral components of the automation framework design principles.

Internal framework: that is, a layered framework, the purpose is to better optimize and manage test cases, more conveniently maintain data, elements, and scripts, and create new scripts more quickly.

The following is the most complete software test engineer learning knowledge architecture system diagram in 2023 that I compiled

1. From entry to mastery of Python programming

Please add a picture description

2. Interface automation project actual combat

Please add a picture description

3. Actual Combat of Web Automation Project

Please add a picture description

4. Actual Combat of App Automation Project

Please add a picture description

5. Resume of first-tier manufacturers

Please add a picture description

6. Test and develop DevOps system

Please add a picture description

7. Commonly used automated testing tools

Please add a picture description

Eight, JMeter performance test

Please add a picture description

9. Summary (little surprise at the end)

Only by working hard can we embrace a better future. No matter what kind of scenery ahead, we must have firm belief and go forward bravely! Let us shoulder our dreams, forge ahead, and write brilliance with sweat and struggle!

As long as you have a fire in your heart, you can ignite the light of your dreams. Keep pursuing and making breakthroughs to realize more possibilities on the road of life! Dare to challenge yourself and go forward!

Dare to dream, dare to pursue, never give up! Let us meet every challenge in life with a positive attitude and fearless courage! Do not forget the original intention, forge ahead, and believe that success only belongs to those who keep fighting and struggling!

Guess you like

Origin blog.csdn.net/m0_70102063/article/details/130387847