Self-taught Software Testing-Automated Testing

introduction

The road to software learning: functional testing, automated testing, performance testing.

Self-taught Software Testing-Automated Testing

Note: This article is suitable for students who have been in the industry for a few years and can only do functional tests. Old drivers can skip it.

Often in forums and QQ groups, there are students who are confused about the future of software testing. After several years of software testing, they only do functional testing and feel that they have lost their competitiveness. What should I do in this situation?

Maybe the next answer will disappoint some students. With the rapid development of the Internet in recent years, it has become more and more obvious that you will retreat if you go against the current. The colleagues around me are in this state. Everyone is learning all kinds of things, whether it is technology, language, or even hobbies. I'm working hard to develop, trying to make my life more fulfilling, and don't panic.

When I was in school, I heard the teacher boast that some classmates would learn, that is a kind of ability to learn new knowledge through self-understanding and digestion. In the IT industry, the technology is updated very quickly, and this kind of learning ability is particularly important.

The topic is a bit far away. As the same software testing industry, I personally think that the future of software testing engineers should be a testing engineer who can program. Functional testing will still exist, but because of its relatively low threshold and high substitutability, everyone still To master more other skills, companies increasingly need a generalist. Instead of A doing functional testing and B doing automated testing, C can be a development and test engineer. You can do functional testing, automated testing or even performance testing. Security test. This requires us to have good programming skills.

This may be far away for software testing students who have only done functional testing, but don’t feel unattainable. If the company has the opportunity to write code like this, it’s best to seize the opportunity; if the company does not have such an opportunity, then Take the time. The following two ways are recommended to learn automated testing:

1. Automate your existing test projects

How to carry out automated testing? Feel free to search for a large number of automated testing frameworks. At present, the mainstream web automated testing framework is Selenium+Java+TestNG, or Selenium+Python. Choose a development language you want to master and start working! Java is currently one of the most popular development languages, and Python is a relatively promising language. In recent years, many machine learning frameworks have been written in Python. I personally think that Python is more suitable for testing and learning. With a better prospect in the future, I recommend that you learn Python.

At the beginning, you can follow the simplest example on the Internet to make the automated script run, such as writing a login automated test case, and then gradually enrich it. When you learn enough scripts, you need a framework to manage your automated test cases. There is a related automated test framework on GitHub. Combine the online framework with your test scripts. This automated test is basic for you Mastered.

When you have written enough test cases, there are no more test cases that can't be dealt with. Combine continuous integration to run the real automated tests of your project, and you have mastered the automated tests thoroughly.

2. Automated test video

If you find it difficult to learn on your own, you can find the corresponding automated test tutorial videos on video sites such as Tencent Classroom, Baidu Chuanqi, and Mukenet. These tutorials are generally more introductory, and you can quickly build them by following the video learning. A set of automated test environment and smoothly run your first automated test script.

Generally speaking, free videos are relatively simple. The demo sites tested are all relatively basic operations. You need to study more deeply and get started based on the test video and then practice it in your own projects. It is also possible to write automated scripts. Used in the project.

At last

It’s better to insist on two words and give everyone and myself a sentence "Talk is cheap. Show me the code", insist on writing more code, and don’t panic in the future.

Guess you like

Origin blog.51cto.com/15127514/2657695
Recommended