Font Size: a A A

Design And Implementation Of Automated Smoke Testing System

Posted on:2015-09-18Degree:MasterType:Thesis
Country:ChinaCandidate:X Y LiuFull Text:PDF
GTID:2298330431484682Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of software technologies, software quality is showing greater importance to large enterprises. Nowadays, efficiency is the life of a company. Manual Testing is one of the testing methods, but it will cost large labors, time for manual testers to do the testing work, and its efficiency can not meet the needs of the development tasks, as a result, automated testing is occurred. As the product of the mature period testing of software development, Smoke Automated Testing System is very important to testers:When a Bug was fixed by a developer, the tester need to do a go live manual testing in order to make sure the basic functions are normal as usual, but after the system is introduced, the testers only need to trigger the job on the portal provided by this system, the testing results will be analyzed by the system automatically and the testers only need to spend time on viewing the testing report provided by the system.According to the hierarchical design theory, the total system is divided into four parts:The system framework layer provide a portal to users, and it also provide a database to store the test results of the test scripts; The scripts controller layer is used to control the life cycle of the scripts execution; The scripts framework layer provides a common library for scripts to use, it provides a test case template class to abstract test execution, all the test cases are divided into steps, which makes the testing step atomic, Selenium is used for web automated testing; The scripts layer is a realization of all the test cases.The system framework layer is designed by MVC model. By using JSP and Servlet, it provides the testers a convenient portal to do some operations, and MySQL is used to store the configuration and the testing results. On script framework layer, some projects are abstracted to make sure the clearness and reusing. Selenium is packaged to hide the details of the locals. Step based framework is used to abstract the testing scenario and make sure the atom. The testing data is stored in XML files, in this way the data is separated with the functions, and the project is much easier to maintain. In order to realize the intelligent analysis part, Watson and GitHub system are integrated into the scripts framework layer, Charles tool is used to collect the logs of HTTP requests and responses, and TaasRecorder tool (This tool is developed by the colleague in the company) is used to record the execution flow, also with the log files which are formatted by Log4j, the testers can locate the issues more easily. Because a lot of projects are used and developed in the system development, Maven is used to management all the projects, and Jenkins is a continuous integration tool for the system testing. A lot of scripts are developed to do the testing, and after the testing, a lot of shortcomings are found, the plug-ins PMD and FindBugs are used to do the static code analysis work. The scripts can also be packaged automatically by the integration with Perforce system.
Keywords/Search Tags:Automated Testing, Smoke Testing, Atomic, Selenium, IntelligentAnalysis
PDF Full Text Request
Related items