Font Size: a A A

The Research And Implemention Of Function Automation Testing Framework Based On Qf-test

Posted on:2013-01-11Degree:MasterType:Thesis
Country:ChinaCandidate:B C ChenFull Text:PDF
GTID:2218330362467582Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Along with the increasing requirement on software quality, more and more peoplefocusing on software testing. The proportion of software testing work in the entire softwaredevelopment process is also in an increasing trend. With the increasing popularity of agiledevelopment process, the workload of the software testing, especially regressiontesting workload is increased. On the other hand, due to fierce market competition,forcing the software suppliers put their product into the market more quickly with highquality. The traditional manual testing has been difficult to finish such a large amountof test work in this short development cycle. So, Automation testing became a hot topic.While, if the automation testing has not been well designed, it is not only costly, butalso need a lot of maintenance effort. A well-designed automation testing framework ishigher efficient and only need little maintenance work.QF-Test is a professional tool for automated testing of Java and Web applications witha graphical user interface (GUI). Produced by the German Quality First Software GmbH, itis a very good automated testing tool developed based on Java. QF-Test is simple butefficient. Using the record function to capture test steps and GUI components, and replaythem to executing the testing. All the test scripts are displayed as tree model. But it is not agood way to execute automation testing only by recording and replaying, only by recordingand replaying is not enough, and there are defects. Because these test scripts are createdrandomly, it is difficult to keep track of their functions, and hard to reuse them. Besides, itwill cost a lot to maintain such scripts. So the introduction of automated testing frameworkis necessary, it is a good solution to overcome those bottlenecks.This paper studies the theory of software testing and automation testing. Then after thestudies of basic automation testing model, proposed and implemented an automation testingframework AFTF(Automation Function Testing Framework) based on QF-Test according to the characteristics of software products. And implement it in a real project. AFTF is a levelarchitecture, which includes three layers of the data layer, the operation control layer andreporting layer. It based on QF-Test and extended by Groovy script which is simple butefficient script. It is a data-driven automation testing framework. The main workflow AFTFis: by reading the configuration file to get test cases and input data stored in Excel files, andexecuting the QF-Test test scripts driven by the test cases and test data. AFTF will log allthe executing process, and finally generate test reports. The logs include the name of the testcases and the return value of the test scripts and the exception messages. AFTF will alsogenerate the statistics report of the test results. QF-Test will generate a very detailed runninglog and generate test reports according to the run log.By this automation testing framework, test engineer can write test cases on the unifiedrules, using the automation testing framework to executing the test scripts flexibly andefficiently, collecting the test results information and create test reports.In this paper, it will complete the following work:1) To learn automation testing theoretical knowledge, study the various availableautomation testing tools, and propose an automation testing solution accordingto the development environment, processes and the software productcharacteristics.2) To research and develop the automation functional testing framework base onQF-Test.3) To implement the QF-Test-based automation functional testing framework.4) To summary of this paper, analysis and forecast of the vision of automationtesting.
Keywords/Search Tags:Software testing, Automation testing, Automation testingframework, QF-Test
PDF Full Text Request
Related items