| Software development enterprises attach great importance to the quality of software,they hope to provide users with safe and reliable software products.Now many software projects are beginning to use agile development as a software development model,which is characterized by short publishing cycle and more iterations.In each iteration,testers need not only to ensure the quality of new functions,but also need to ensure that the new functions don't have a bad impact on the already existed functions.So tester need also to do system inergarion testing and comprehensive regression testing in each iteration.However,due to the short iteration cycle,actually testers don't have enough time to complete test works,they need to use automated testing tools to help finsh test works.Practice has proved that automated regression testing can not only improve test efficiency,but also increase test coverage and improve test quality.Therefore,it is very meaningful to study how to implement automated testing of software.The focus of this paper is to design and implement the automatic testing platform with Microsoft's UIA(UI Automation)technology that can be used on Windows applications automated testing,main works include below parts:(1)Analyze and research Microsoft UIA Technology.Understood the development of UIA,analyze and research the working principle of UIA,and how to use UIA implement UI automated testing.(2)Designed the architecture for automatic test platform based on UIA.According to the characteristics of Windows softwares,designed UIA automated test platform,include: test basic method module,test auxilliary tools module and test cases module.This automated testing platform can be applied to automate testing for different softwares.(3)Implemented and verified this automated testing platform.According to the detailed design,all mouldue of the UIA automated test platform were realized.Taking a software as an example,completed automated testing with UIA automated testng platform.Thus,the availability of this platform was verified. |