The theoretical basis of automated testing framework

1. The development of automated testing framework

The first generation of automated testing technology, namely recording playback technology, depending on the system and the environment.
The second-generation automated testing technology, that of script-driven, modular and implemented in the code library.
The third-generation automated testing technology, that data keyword-driven, separated by a script and data automation framework.
The fourth generation of automated testing techniques, automated testing platform, i.e., the entire operation is completed automate the testing process, the test person on the platform with the embodiment only maintains the corresponding data.
Fifth-generation automated testing technology, that test of artificial intelligence, artificial intelligence program by automated machine learning, creation, execution, analysis and testing, currently the technology developed in the country yet, open source software, particularly small and immature.

2. automatic test pattern

1. Linear test: each test script is relatively independent, are written in a script file content and other independent testing, any script can out perform alone. High development and maintenance costs.
2. Modular drive test: the repeated operations PR stand alone module. The landing module, then write the subsequent use case only needs to call the corresponding module. A better solution to the problem of duplicate script.
3. Data driven testing: The impact of data-driven test data for testing changes proposed. It is to make parametric test data. Not only solved the problem of duplicate script, also increases the reusability and maintainability. When the test code need not be modified to change the test data.
4. Keyword driven testing: The current market tools:. QTP, Robot Frame encapsulating the underlying code, to provide an independent graphical interface. Eliminating the fear of testers write the code in the form of form-filling, which reduces the difficulty of writing the script.
To sum up: the development of automated test scripts developed by the UI layer to mature automation tools. We learn automated process also began to learn from a linear model. UI Automation working process to be implemented is the use of modules were driven and data-driven, when the ambient matured to a certain extent, UI test automation can make keyword-driven test automation tool graphical interface.

 3. easy to use platform to collect

https://blog.csdn.net/baidu_37735992/article/details/101679741

https://www.cnblogs.com/finer/archive/2019/05/19/10889229.html

Guess you like

Origin www.cnblogs.com/qiancaofengling/p/12658012.html