I searched for a question on Baidu, automated testing — that’s the key word. One question that pops up: How do you learn to automate tests? I think this article is very well written, so I will repost and add some of my thoughts on automated testing to share with you. Hopefully it will be helpful to the tester.
Q:
As a tester, from years of work in the manual test is not too much harm, of course, if have point to point to do itself cannot be improved, then select learning test automation is a necessary thing, would liberate himself from heavy repetitive work, engaged in some of the more challenging work, and can accumulate technical knowledge, So how can new techies learn to automate testing?
(It can be seen that the friend who asked the question has the same situation as many of our friends, which is a little confused about how to learn automatic testing.)
1. All things are difficult at the beginning. I hope you can take the first step and learn the basic syntax of Python.
2. Visit sites around the country where you can do exercises. (The link is not put, you can baidu)
Learn HTML, XML and WebService under HTML/CSS.
3. Then learn to write the simplest web crawler in python’s Requests library. Blog park, zhihu crawler tutorial a lot. This step is a turning point and can have a kind of understanding but not very enlightened meaning. There is a certain sense of accomplishment in writing simple things, but there is a reason for not knowing complex interfaces and learning how to parse a page.
4. Learn unittest, Python’s testing framework, and learn how to write a small unittest using unittest and Python’s mock module.
5. Combine 3 and 4 to master HTTP automated interface testing.
6. Learn selenium’s library and page object schema
7. Putting 2, 4, 5, and 6 together, you should be able to write automated test scripts that support both Web and interface testing.
8. With the robotframework, you can make automated tests keyword – and data-driven.
9. Learn more advanced Python syntax. Such as decorators, thread process coroutines. You can run tests in parallel and automatically log test steps to a log file.
Like Jenkins, tests no longer require you to start them manually. Tests can also be run step by step across multiple environments.
11. Learn the simple use of Docker, Git, gitlab, etc. From now on, the test script will not be updated by human, and the test environment will not be built manually. Learn the basics of Linux here, too.
12. Go back to W3Cshool and learn javascript, Ajax, jquery, bootstrap. At this point you can write more than 50% of the front end of a simple website.
13. Learn how python’s Flask libraries work with mysql or mongodb. At this point you can write a simple website background. You can also quickly develop webService interfaces.
14. Combining 12 and 13, you can now develop some test management tools. For example, write a CI scheduling platform to manage many Jenkins masters. You can also write a Web presentation platform that provides a uniform style of test reports. Write a kanban that monitors all tests. Write scripts to help you generate test documentation. Write test environment management tools.
If you’ve got it all figured out, congratulations, you’ve hit another milestone, you’ve got some ideas of your own, about automated testing.
Locust, Jmeter, etc. The framework written in 7 now supports stress testing.
16. To do app testing, learn a framework like Appium.
17 make up the lesson time, make up the computer network, this is really useful, if the Internet is not good, a lot of times need to find someone to help. For those who have higher requirements on themselves, the Linux operating system can be used to fix them…
Java patch up. I can’t. I have a lot of units in Java. There are plenty of opportunities to find work. Java + Python is now popular.
19. I don’t know how I’m going to learn anymore. I want to improve my Web development skills. Learn a front-end framework, later to develop some more beautiful and more dazzling front-end pages. Learn more about message-oriented middleware. I’ve been asked this question before.
20. Congratulations, if you get there, you’re already a serious tester, no matter what the basics are, and once you’ve learned that, you can go out and apply for automated testing. However, you probably won’t want to go back to writing the usual Selenim script at this point. According to the situation of our unit, the original script is robot script plus some custom libraries, and selenium and APpium of other units are similar in essence, they are very simple and no-brainer. At this point, some of the people in my previous organization moved to Devops, ci, CD. Some people do automated test coaching (actually writing test base libraries and doing training), test tool development (web development). I tried all of these and felt more interested in DevOps, although I started with automated testing. The learning path for automated testing and DevOps can mesh well together. Because there are fewer experts in automated testing, and DevOps is all about automating the whole process, not just testing, but the other stages of automation and automated testing are not very different yet.
I’ve had time recently to sort out how manual testing can move to automated testing, which is pretty much covered above. I also put together a mind map of the growth path of the test subjects
There will also be some of the latest automated test related video collections, if needed follow my group.
As for the automation test architect position, it really depends on how your organization sets up the position. Technical people always want to have the title of architect, but the architect is far from the development architect. Don’t be complacent here… Maybe it’s just that you’ve been here long enough. Endure lonely harvest, never forget there will be echoes. If the Python software testing, interface testing, automated testing, interview experience exchange. Selenium WebDrive Pytest appium can be added to the exchange QQ: 718897738, the group will also have peers together technical exchange.
Emmm means I have a live learning group. If you are interested in learning, there are live classes every day. Python automatic test technology summary, pay attention to love code, grow together.