Screening techniques automated test cases

Compared with manual testing, test automation software has many advantages. It improves the quality of results and to improve reliability, and reduce bias the results. In addition, it can speed up the process, increase test coverage and, ultimately, improve the overall quality of the software. After a good delivery automation can improve quality, increase test coverage and reduce testing costs, and making the correct test can find problems early.

One of the main problems is the selection of test automation to automate test cases. But how will people know all the test cases to be automated it?

In this paper the immediately preceding period: how to automate select cases with content, let us look at some other test cases and tips on how to choose the rules to be automated.

Repeat the test

This is the golden rule. If the test run is repeated, it should be automatic. This saves you valuable time and effort. In addition, if this is your assumption that the future will often test run, then automation is a very good way. Each time will be faster and more accurate results.

Difficult test case

If an error occurs and the great risk of being damaged, or manual testing process is difficult to complete the purpose of executing a test case, it should give priority to the use of automated testing. If the risks involved are high, so the test case automation.

Example main flow with

Primary process automation applications use case is a very good practice. To avoid any possibility of human error, and to be safe, and fast. For the test case could jeopardize the entire project should take precedence automated testing.

A wide range of use cases

The need for large amounts of data and test conditions more suitable for automated test scenarios. In addition, the opportunity to make mistakes in the manual testing process may be increased. This is a test commonly used test-driven model of the important reasons, we are mainly those test cases need to fill out more forms.

Evaluate the pros and cons

The time required to complete the test by evaluating automated process or manually. If some items are not suitable for the investment of time in automated testing, automated testing process itself takes more time than manual testing, automation show is not worth it.

Three gold test

When it comes to automation, we should not question the three test cases: regression testing, smoke testing and sanity testing. why? Because each internal version or release version of the application will need to be tested.

Ask "Why?"

Never just because you can automate test cases can be automated. This result may bring more harm than good.

Remember, on automated "Why?" The answer must not be "Because I can."

Complex cases

Many test cases need to set a lot of pre-conditions, which are pre-set conditions are usually more complex, such use case is the need to give priority to automate, because you can save a lot of time, even if only to do some automated functional testing script.

Performance Testing

Usually choose automated performance tests, such as load and stress testing, such tests manually is difficult to achieve the desired results.

Testing time

If the test case a longer time span, usually ten minutes or a few hours, they should be automated.


  • Solemnly declare : The article first appeared in public No. "FunTester", prohibit third parties (except Tencent cloud) reproduce, publish.

Technology Featured articles

Non-technical Selected Articles

Guess you like

Origin www.cnblogs.com/FunTester/p/12105676.html