Some knowledge about automated testing

Why use automation?

Because each product update or before and after the launch requires a lot of time to perform regression testing, but if the regression testing is done manually, it is time-consuming and labor-intensive, and it is easy to cause omissions. If automated regression can be used, and some management tools can be configured to trigger it automatically, it can not only save time and effort, but also be unattended.

What can't automated tests do?

a. Style issues (color, font, font size)

b. Newly developed functions are not suitable for direct automated testing

c. The function of repeated revision

d. Functions that require verification codes

e. Payment related functions (online)

How to implement automation? (Which should be considered?)

a. Review the functionality of the object under test: What are the features? To what extent should automation cover? Final confirmation of the test case

b. Review the coding of the tested object: it is the same language as the tested object or a similar language, so it has good compatibility and supports more functions. Choose your favorite language

c. Choice of automated testing framework: open source framework, more supported languages, more mature framework

d. The running environment of the automated test script

e. Planning of automation architecture

f. Write specific test cases

g. Automatic touch and execution

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324892594&siteId=291194637