Testers who have no experience in automated testing projects, please come and check it out!

The most difficult thing about learning automated testing is not having appropriate project exercises. The test itself must be both scientific and artistic. It is difficult to cope with specific problems at work by simply learning a few API calls.

You have to know when you need to add explicit waits, 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 about practice automation on the Internet, but practice projects that can be used for learning are very scarce. Some projects are relatively simple to operate and cannot achieve the effect of practicing various operations. Some projects are so complex that it takes half a month just 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 will need to spend a lot of time sorting out the business relationships. 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 repeatedly practice less proficient skills during the learning process, and it should preferably have general management permissions to facilitate our own selection of roles and other requirements.

I recommend a few pretty good online practice projects. If you are struggling with no project practice, you can check it out.

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

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

This is an e-commerce project where you can buy various 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, viewing positioning, confirming delivery addresses, etc.

If you want to learn automated testing, I recommend a set of videos to you. This video can be said to be the number one automated testing tutorial on the entire network played by Bilibili. The number of people online at the same time has reached 1,000, and there are also notes that can be collected and communicated with various channels. Master technical communication: 798478386    

[Updated] A complete collection of the most detailed practical tutorials on Python interface automation testing taught by Bilibili (the latest practical version)_bilibili_bilibili [Updated] A complete collection of the most detailed practical tutorials on Python interface automated testing taught by Bilibili (practical version) The latest version) has a total of 200 videos, including: 1. Why interface automation should be done for interface automation, 2. Overall view of request for interface automation, 3. Interface practice for interface automation, etc. For more exciting videos from UP master, please follow the UP account . icon-default.png?t=N7T8https://www.bilibili.com/video/BV17p4y1B77x/?spm_id_from=333.337 

The personal information required by the website does not need to be true, and the payment does not need to be paid. There is no need to worry about the leakage of personal information and other issues. Moreover, this project is provided by the famous MyBatis and is built using the Spring framework. Many Java open source projects use it as examples.

The business is simple, the process is clear, and the operation types are rich. It is an almost perfect practice platform and very suitable for practicing Web automated testing.

 

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

https://letcode.in/test

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

picture

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

https://automationintesting.online/#/

It is an online room booking project, somewhat similar to websites such as Ctrip and Elong. You can swipe to select a room on the website and then enter your 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 legality of the input information. It is suitable for practicing front-end and back-end interaction and joint debugging.

picture

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. If you don’t have any, then consider practicing projects. You can also use practice projects to get started when you are not particularly proficient in learning, and then practice through real projects after you are proficient.

Practice projects have some additional benefits :

  • There is no interception or shielding of automated testing tools. You can directly use tools like selenium. If used in a real project, it is very 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 the leakage of your information.

  • User interaction tends to be simpler and more direct.

  • The quality is generally not as high as that of formal projects. It is easier for you to find bugs and give 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 crash

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

Generally speaking, before you have formal project experience, it is very good to find a suitable practice project and transform your professional knowledge into applicable skills. I hope it will be helpful to 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/132761744