Font Size: a A A

The Research And Implement Of Automated Test Tool For Desktop Programs

Posted on:2012-11-12Degree:MasterType:Thesis
Country:ChinaCandidate:S FengFull Text:PDF
GTID:2218330335493012Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Desktop programs, the most popular software type in daily life, along with increasing scale and functions, their tests are becoming more and more cumbersome. Therefore, development of reusable automated test tools is becoming important for their high tests efficiency, short development cycle, low cost and easy operation.According to research of software test and automated test technology, with the characteristics of desktop programs, researcher proposed goals of desktop programs automated test tool as follow:The tool could specify measured control; The tool contained GUI control module base; Test scripts could be used repeatedly; The tool could verify test results automatically. And researcher developed a desktop program automated test tool-Autotester based on.NET. The tool consisted of seven parts including bottom calling module, test script management module, test report management module, test Log maintenance module, interface operation module and module of automated generating test scripts. Functions would be implemented, such as reading of test scripts, execution of test case, verification of test results and automated generating of XML test report, through reflection technology in.NET, WIN32API calling and XML files technology.Researcher conducted tests of actual programs by using Autotester, compared with manual tests. Finally there arrived at a conclusion that although automated tests increased the complexity of tests at the initial stage, it showed obvious advantages when it executed test case after accomplishing of test scripts, especially executing regression test.The results show that the tool can be used as auxiliary tool of functional and regression testing. It has practical meaning and value on reducing manual testing workload and time, short development cycle and improving quality of software.
Keywords/Search Tags:software testing, desktop programs, GUI control module base, test scripts
PDF Full Text Request
Related items