How to learn automated testing with zero foundation?


Summary

I have a side job (free, but the point is fate, after all, I don’t have enough time), and I happen to be instructing some graduated programmers to find jobs. I found that the difference in ability is reflected in the hard work acquired, and the gap in professional development is formed in cognition. At the same time, the latest software testing resources (video tutorials, PDF documents, interview questions) in the last two months are also organized.

Friends who need this information can add my public account [Sad Spicy Bar] to receive it.


I often have friends who ask me how to learn automated testing. Is it necessary to write code very well? What knowledge should I learn?
Then I will give you an analysis of what the automated testing required by the company and enterprise should look like.

At present, automated testing is basically required for small companies, medium-sized companies, or large companies. Like a few years ago, the requirements for testing were not so high, and basic functional testing is actually sufficient. However, with the development of software and the progress of the industry, the current requirements are basically full stack: functional testing, interface testing, automated testing, performance pressure testing, etc., then it is necessary to master the necessary professional skills and pay attention to the current development trend of testing. Did it.

One, automated test classification

Web-side automated testing: automated functional regression testing based on selenium or QTP tools. Fortunately, the tool is to import the package, and then you can write the script directly.

Mobile APP automation test: Use Appium, Uiautomator and other tools to perform client-side automation function regression test.

Automated test on the interface side: Use requests in py or the network request library in java to perform code-written interface side automated function regression tests.

At present, the most important are these three types of automated tests.

Two, the commonality of automated testing

Because I have done automated testing for several years, I can understand some common features of current automated testing.

1. Based on the page object mode of positioning method, page, etc., the design method of encapsulating characteristics and separating data and business can be said to be basically similar, because the automated testing based on UI is this way for enterprise-level functional regression.

2. Data Mock for functional regression is an idea in the process of UI automation testing. Because of the development trend of UI automation testing, in fact, there are already large companies that use Mock technology for functional regression (such as Meituan technology), but in terms of feasibility, cost and design, only large companies have the cost and manpower to do this. Things, but this idea may bring a ray of life to UI automation testing.

3. Design ideas and methods of automated testing based on business. Automated testing out of business is really meaningless. It takes a lot of work to find out how to more efficiently return to the testing ideas, strategies, feasibility analysis, etc. of business functions.

3. Misunderstandings of automated testing

1. Only to complete automated testing. Required by the company. If you do things passively, the effect may be worse, and you need to put your mindset in order to complete a script development is more fulfilling.

2. Test purpose

Not to find bugs? The main function is actually to perform regression testing of the main functions. Note: The main, functional regression test. If you want to return to all functions, the workload is very large. The return of the old functions of the software in the iterative process is actually very important, and not all functions need to be covered.

3. Promotion and salary increase, the code needs to be written 66. In fact, it is not. At present, I found that everyone has entered a misunderstanding. To what extent does the code need to be mastered? Can do development work? Can you write a system yourself? Can develop a platform? I think it should be testing strategies and testing ideas.

Look for yourself: how many companies and how many test students can really do: automated testing is based on company business?

Back to the essence, our testing strategy and testing ideas may be the most important point.

Four, throw a brick to attract jade

Talk about the automation tools I know:

Web automation testing tools: Selenium, QTP.

App automated testing tools: Appium, Uiautomator, monkeyrunner, NetEase atx, sikuli based on image recognition and comparison.

Interface automation: rest-assured, requests, httprunner, etc.

The thing itself is not very difficult, you will do a good job by exploring it slowly. Come on, everyone.


Finally: benefits

In the technology industry, you must improve your technical skills and enrich your practical experience in automation projects. This will be very helpful for your career planning in the next few years and the depth of your testing technology.

In the interview season of Golden 9th and Silver 10th, job-hopping season, organizing interview questions has become my habit for many years! The following is my collection and sorting in recent years, the whole is organized around [software testing], the main content includes: python automation test exclusive video, Python automation details, a full set of interview questions and other knowledge content.

Don't be ashamed of getting an 8k salary, don't be complacent just because you get a salary of more than 20k, don't be complacent just because you get a 30-45 salary. Life is not to earn that little salary, what you need is to open a career.

May you and I meet and you will find something! Welcome to follow the WeChat public account: [Sad Spicy Article] Receive a 216-page software test engineer interview book for free. And the corresponding video learning tutorials are free to share!

Good article recommendation:

Talking about starting from a small company to a big factory, what did I do right?

Does it make sense for ordinary people to learn Python automation?

What kind of person is suitable for software testing?

Guess you like

Origin blog.csdn.net/weixin_50271247/article/details/112972453