Software testing plays an important role in guaranteeing the quality of software. Although the domestic software companies pay more and more attention to software testing work, but there is still such an indisputable reality: In addition to some large and medium-sized software enterprises, a considerable number of software enterprises software testing work is completely in the manual test state, even there is no stable testing team. In such an enterprise environment, the software testing work becomes a tedious and arduous "drudgery". Large-scale software projects new business requirements and change requirements are more, and various types of business more complex, such as ERP, CRM, SCM and so on. Software development often takes the form of modular design and incremental integration, and some systems control the process and authority more strictly, which leads to a very long process of document from acceptance to filing status. Testers are more difficult to prepare for test data and often need to spend a lot of time creating a single sheet and executing it to a predetermined state. There are also a number of changes that need to be validated, and many bugs in software testing need regression testing. There is a lot of repetitive work in these jobs, and it is necessary to introduce and apply the method of automatic test of function.
Automated test methods
When we use automated test tools to perform functional testing, we primarily automate regression testing of software. Regression testing is an important stage in software side-test process. Regression testing is required when code modifications, software hardware platform changes, or hardware configuration changes are made. As an integral part of the software lifecycle, regression testing occupies a large proportion of the whole software testing process. In the test process, regression testing has two major drawbacks: time-consuming and cumbersome. Especially when testing the user interface (GUI), the tests become complex and the operators are prone to error. But more and more applications need and graphical user interface (GUI) work, in order to support the testing of these applications, software testing tools must provide the ability to capture user actions (such as keystrokes, mouse activity, etc.) and the ability to automatically replay user actions after the code has been modified.
Capture and playback
The so-called pick and playback technology is the first by hand to complete the need to test the process, during this time, the test tool can record the user's input actions such as keyboard and mouse during the test, and also record the response of the software, when the software is modified and the test is rerun, You can use the test playback function to reapply the previous input operation of this test to this side test, and automatically compare the software to the test and the previous test response is the same, if different, it indicates that the modification of the software produced a new error.
Scripting technology
A script is a set of instructions that a set of test tools executes and is a form of a computer program. Scripts can be generated by recording the tests and then modified, which reduces the amount of script programming. Of course, scripts can also be written directly in scripting languages. When automating tests, you should choose the appropriate script development method based on the actual test requirements and conditions. Several development methods are generally integrated.
Automated test tools
In practical work, regression testing needs to be repeated, and when the tester completes the same test over and over again, these regression tests will become very annoying, especially when most regression tests need to be done manually, and therefore need automated testing to achieve repetitive and consistent regression testing. Test automation can improve the efficiency of regression testing. To support multiple regression testing strategies, automated test tools should be generic and flexible to meet the requirements of different regression test objectives.
The current mainstream function automation testing tool has HP Company's QuickTest PROFESSIONAL,IBM Company's rational functional tester and so on. The following is an example of HP's QuickTest Professional, a brief introduction to the workflow of automated test tools.
QuickTest Professional
The HP quicktest Professional abbreviation QTP provides automated functional testing and regression testing to meet all major application environments. The idea of a keyword-driven approach has simplified the creation and maintenance of test cases. It allows users to directly record the operating process on the screen, automatically generate functional tests or regression test cases. Professional testers can also gain complete control over test and object properties by providing a built-in script and debugging environment.
......
This article is reproduced from the 51Testing Software test Network, view the full text: http://www.51testing.com/html/15/n-232815.html