Commonly used mainstream and easy-to-use WEB automated testing tools are strongly recommended

There are many automated testing tools used in business. There are open source ones, some commercial ones, each has its own characteristics, and each has its own advantages! Below I will introduce a few excellent domestic automated testing tools that I have used. In the existing automation software, one of the element's name, id, xpath, class, tag, link, partial_link, and partial_link is used to locate the element. Now the actual test environment is often not as peaceful as we imagined. The id, name, and tag are repeated a lot on the page. Perhaps when we write use cases that are not repeated, it is likely to become repetitive after a round of version revisions. xpath is the least likely to be invalidated, but it is common that it is often invalidated due to the modification of the parent node. Therefore, automation designers are struggling to maintain use cases, and the workload is very huge.

There is a kylinTOP software that supports smart element positioning. When the kylinTOP element is operated, even if you modify any attribute of the element, it will not affect the execution of the automation use case. Even if you modify all the values ​​​​of the element's attributes, he can execute it. This is something that other self-persuasion testing tools in the industry cannot do at present, and it feels a bit overwhelming.

The above figure is the step of clicking the button. The steps record multiple attributes of the button: title|alt, src, border, alt, xpath and its child information. Some attributes cannot uniquely locate elements (there are repetitions in the page), such as: border. kylinTOP records all identity information of button elements. When the author tries to modify the title|alt value in the page code, the title|alt value in the page is repeated. When the script is played back, it still works fine. Restore the title|alt value, repeat the above modification steps, and modify other attribute values ​​one by one, which still does not affect the running of the script. Through the test, it is found that modifying any attribute of the button does not affect the script execution. The intelligent positioning of elements improves the stability of use cases and effectively reduces the maintenance costs of use cases.

The use case script generated by kylinTOP has no code script, which is another major feature of this tool, which can effectively reduce the difficulty of using the tool. As shown in the figure above, the use case steps are all visual operation steps, and there is no code script. The generation of the script does not require manual writing, and can be generated by recording, which really helps testers save time.

The intelligent judgment at the end of the step is another highlight of kylinTOP. We all know that when using selenium to write use cases, it is generally necessary to write sleep time or judgment of element visibility (sometimes need to write multiple elements visible). These tasks need to be written manually. And kylinTOP does not require the attention of testers, and solves these problems through intelligent judgment.

Another is the template function of the script. After you record the script, the script will generate many steps, and some of these steps are parallel. This time can be saved by saving the script as a template. Generate a tree structure by dragging and dropping, so that multiple use cases will be generated, instead of the previous simple way of using a script as a use case.

As shown above, one script will generate three use cases, so that the failure of one of the steps will not cause the entire script to fail.

Finally, I would like to thank everyone who has read my article carefully. Reciprocity is always necessary. Although it is not a very valuable thing, if you can use it, you can take it away directly: [Collect at the end of the article]


     [The following is the most complete software test engineer learning knowledge architecture system diagram + full set of materials I compiled in 2023]


1. From entry to mastery of Python programming

2. Interface automation project actual combat

3. Actual Combat of Web Automation Project


4. Actual Combat of App Automation Project

5. Resume of first-tier manufacturers


6. Test and develop DevOps system

7. Commonly used automated testing tools


Eight, JMeter performance test

Nine, a complete set of information on software testing

10. Summary (little surprise at the end)

life is long so add oil. Every effort will not be let down, as long as you persevere, there will be rewards in the end. Cherish your time and pursue your dreams. Don't forget the original intention, forge ahead. Your future is in your hands!

Life is short, time is precious, we cannot predict what will happen in the future, but we can grasp the present moment. Cherish every day and work hard to make yourself stronger and better. Firm belief, persistent pursuit, success will eventually belong to you!

Only by constantly challenging yourself can you constantly surpass yourself. Persist in pursuing your dreams and move forward bravely, and you will find that the process of struggle is so beautiful and worthwhile. Believe in yourself, you can do it!

Guess you like

Origin blog.csdn.net/NHB456789/article/details/132299027