Font Size: a A A

Research And Implementation Of GUI Software Test Automation Framework

Posted on:2013-08-05Degree:MasterType:Thesis
Country:ChinaCandidate:Z Q YouFull Text:PDF
GTID:2248330371471467Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
At present, most application softwares are designed and developed basing on graphic user interface (GUI) technology, and the quality of GUI directly affects customers’approval degree of the software. Therefore, as an effective mean to ensure software quality, GUI test is becoming more and more important. However, with GUI software scale and complexity getting larger and higher, only using traditional manual test method can’t meet the need of GUI test [1]. In order to ensure test quality and improve software reliability, it’s urgent to apply advanced automation technology on GUI test.Automation test not only can solve some difficult problems encountered in manual test but also can enhance test quality and reduce test cost. Nowadays, there are many researches on automation test technology, one of which is the exploitation and implementation of test automation tool realizing through capture/replay-mechanism. Nevertheless, due to the complexity and dynamics of GUI controls, capture/replay-mechanism can’t solve the problems in test process all by itself, and it is not able to support real project because of its lots of short points. Therefore, according to the test project characteristics, combining with a test tool, it is practically valuable to design and implement a GUI software automation test framework to provide an effective solution for automation test.Firstly, the paper elaborated on the basis theory about software test and GUI automation test, analyzed the characteristics, advantages and feasibility of GUI automated test, studied automation test technologfurther, researched GUI automatic test process, and tested automation driver thought and framework designation principles to provide automation test framework’s designation and imcompletmentaion with theoretical and technical support.Basing on the background and purpose of GUI automation test framework, choose VSTS2010 (Visual Studio Test System2010) as test tool after analyzing the advantages and disadvantages of current automation test tools. According to the principle of automation test framework, used keyword-driven model thought to design and realize the GUI test automation framework. The framework includes five parts:Microsoft OS, VS2010(Visual Studio2010), TAP (Test Automation Platform), MTM2010(Microsoft Test Management2010) and Test; the paper demonstrated each part of them, especially TAP’functional designation and realization. TAP, the core part in the framework, consists of four modules including Requirement Engine, GUI Interaction, Test and Report. These four modules have realized Test case’s automatical generation, package properties and operation of controls in GUI, definition of test case and test template, and test report output. Together, they finish framework main task and untangle the key problems of framework.Test automation framework is applied to the real test project after realization. During GUI software automation test, it provides an effective solution for automation test. That can develop test scripts with stratified thought, configurate test environment, and manage the whole test process including distributing and executing test task automatically, collecting test result, tracking test defects, and so on. After all test cases were performed, analyzed the framework usability and profitability basing on the test result.Now, GUI software test automation framework demonstrated in paper has been put into use widely, applied on different CCS products and versions. Using the framework can obviously increase test efficiency and quality and ensure CCS reliability. After the test, it has reached the expected goal.
Keywords/Search Tags:GUI, Automation test framework, VSTS2010, TAP, Test case
PDF Full Text Request
Related items