I understand the talk about automated testing

       In fact, 80% of the testing industry, job function tests are now paying the entire IT industry, led to a lot of people into the industry, the impact is originally recruited functional tests, but will have to automation, performance, safety test, the entire test job recruitment requirements are also increasing.

        When it comes to automation, because the project where I have been using the RF (robot framework) to do the automation and automated web-page interface, a web page has changed so much since it did not do, automated interfaces are doing pretty well, there are full-time staff to do the automation interfaces. Since the early entire automation framework that I participated in the preparation of the design, we still have some experience. The most important thing is to make automated scripts to be well maintained and extended, coupling between the script as small as possible.

       How to be a good automation framework it? 1. The data separation, which as not to put the script data, all the data into the corresponding data file following data may be hierarchical, are used throughout the project data can be placed inside the profile, easy to modify; use case data in the module different sub-files to store, easy to find 2. modify keywords separation, and data separation, like, RF is keyword-driven project keywords and keyword module separated, separated into different files, but also easy to manage and modify Example 3. decoupling, try to use in direct decoupling, best not to use a lower and upper cases also associated with an embodiment, with each embodiment are preferably run independently, so that good positioning of the positioning data generated in 4., to clear use cases inside, to avoid the accumulation of more and more data, automation is often run, so be sure to recover the data.

        Next to continue to write down the RF interface design automation framework.

Guess you like

Origin www.cnblogs.com/xu-xu/p/11689227.html