In the process of Iterative software development mode, the version keeps being iterativing and the function keeps being constantly added. It request that the testcases should be excuted faster and more times than other software development mode. A lot of companys choose automating the software testing when the companies use the Iterative software development mode. But they always face to the problem that the testcases and the ranch of version are more and more because they did not conside the automating in the eyes of the whole flow of software testing. It is very important to create an automatic test framework based on the whole flow. This paper is to give an effective solution to solve the problem of the software test in the process of iterative software development mode. The mainly work is as follows:(1)This paper gives the test activities should be automated first considering the flow of software test. On the base of the above, it designs a test framework named ITF based on the iterative software development mode. In the framework, this paper uses the XML technology to store the test data and uses DOM which means document object module to load and analyze the XML documents. Then use the objective technology to store the data in some data objectes and store the objectes with an Arraylist. When the script which drives test need the testcase data, the data can be send. After the use of XML and data driven mode, the testcase data and the test script can be seprated.(2)To uses the advantages of the iterative development, control all resource in the software test software testing and use the data driven in the ITF framework, this paper design a test management system based on ITF framework. This system bases on B/S mode include a center of test management and some engines which implement the function of the center. The engins is as follows: software installing engine, testcase excuting engine, testcase result returning engine.(3)On the base of the software development flow of the company of HUAWEI, after analyzing the characteristic of the product and the form of the testcases, this paper realizes the implementation of test automation based on ITF. In the fact of realization, this paper use the Autoit script to realize the environment installing engine, the XML for testcase excuting engine and the Mailmessage class for result return engine. In the last, it shows the difference of change after realization. The difference proves that it is a effective way to improve the effectivity of the test engineer.ITF framework is based on the whole flow of the software test. It has been realized in Huawei. It has solve the problem of testcase are more and more, the poor effective of the test engineer and the litter percent of the testcase covers. |