Preparing for the Golden Nine and Silver Ten I Testers who have no experience in automated testing projects, take a look here!

The most difficult thing about learning automated testing is that there are no suitable project exercises. The test itself is both scientific and artistic. It is difficult to deal with specific problems in the work just by learning a few API calls.

You need to know when you need to add explicit wait, when element positioning needs to be written more elegantly, and why you need to assert this element instead of another. You need to have the appropriate page controls to practice certain operations.

There are many articles on the Internet about practicing automation, but the practice items that can be used for learning are very scarce. Some items are relatively simple to operate and cannot achieve the effect of practicing various operations. Some projects are very complicated, and it takes half a month to get familiar with the business.

It can be said that a good practice project is crucial to mastering automated testing. The business of the practice project should not be too complicated, otherwise we need to spend a lot of time sorting out the business relationship. It can't be too simple, otherwise we won't be able to practice useful skills. The project should cover as many knowledge points as possible, allowing us to practice less-skilled skills repeatedly during the learning process, and it is best to have general management authority, so that we can choose roles and other requirements by ourselves.

I recommend a few good online practice projects. If you suffer from no project practice, you can go and have a look.

The first project is called JpetStore, and the URL is:

https://petstore.octoperf.com/actions/Catalog.action

This is an e-commerce project, you can buy all kinds of pets on the website. Common e-commerce website operations can be found in this project, such as registering, logging in, finding products, selecting products, adding shopping carts, placing orders, checking locations, confirming delivery addresses, and so on.

The personal information required by the website does not need to be real, the payment does not need to be real, and there is no need to worry about personal information leakage and other issues. Moreover, this project is provided by the famous MyBatis, built using the Spring framework, and many Java open source projects use it as an example.

The business is simple, the process is clear, and the operation types are rich. It is almost a perfect practice platform, which is very suitable for practicing web automation testing.

The second project is called letcode, and the project address is:

https://letcode.in/test

This is a webpage ui element display website, which lists almost all popular webpage controls. If you are learning a framework like selenium, you can use this project to practice the operation method of selenium. For common page elements such as clicking, dragging, and switching, there are ready-made controls on this website that can be operated. You only need to enter the home page, and then click the appropriate control to enter the special interface of this control.

picture

The third project is called booker, and the project address is:

https://automationintesting.online/#/

It is an online room reservation project, somewhat similar to sites like Ctrip and eLong. You can select a room by sliding on the website, and then enter your own information to complete the room reservation. This website uses a RESTFul-style interface. You can analyze the interaction between the back-end interface and the front-end, and verify the validity of the input information. It is suitable for practicing front-end and back-end interaction and joint debugging.

picture

If you want to learn automated testing, here I recommend a set of videos for you. This video can be said to be the first interface automation testing tutorial on the entire network at station B. At the same time, the number of online users has reached 1,000, and there are notes to collect and various Lu Dashen Technical Exchange: 798478386     

[Updated] The most detailed collection of practical tutorials for automated testing of Python interfaces taught by station B (the latest version of actual combat)_哔哩哔哩_bilibili [Updated] The most detailed collection of practical tutorials for automated testing of Python interfaces taught by station B (actual combat) The latest version) has a total of 200 videos, including: 1. [Interface Automation] The current market situation of software testing and the ability standards of testers. , 2. [Interface Automation] Fully skilled in the Requests library and the underlying method call logic, 3. [Interface Automation] interface automation combat and the application of regular expressions and JsonPath extractors, etc. For more exciting videos, please pay attention to the UP account. https://www.bilibili.com/video/BV17p4y1B77x/?spm_id_from=333.337&vd_source=488d25e59e6c5b111f7a1a1a16ecbe9a

Many people may say: Why not use real projects directly, but use these online practice projects.

First of all, I still recommend using real projects if you can use real projects, and if you don't consider practice projects. You can also use practice items to get started when you are not particularly proficient in learning, and then go through real projects after you are proficient.

Practice projects have some additional benefits :

  • Without interception and shielding of automated testing tools, you can directly use tools like selenium. If it is in a real project, it is likely to be detected and access through selenium is prohibited.

  • The protection of personal information is more direct. Through the practice project, you can construct your own identity information at will without worrying about your own information leakage.

  • User interaction tends to be simpler and more straightforward.

  • The quality is generally not as high as that of official projects, and it is easier for you to find bugs, which gives you a sense of accomplishment.

Of course it also has obvious shortcomings:

  • The design will be ugly and may affect your mood

  • Does not support large-scale concurrent operations, otherwise it will collapse

  • The business logic is relatively simple, and it is difficult to simulate the real business complexity.

In general, before you have formal project experience, it is still very good to find a suitable practice project and transform your professional knowledge into applicable skills. I hope it will be helpful to the students who are studying. If you also have good practice projects, please share them with me.

 

 

 

Guess you like

Origin blog.csdn.net/m0_73409141/article/details/132212042