| Software engineering software testing is the most important step, and automatedtesting is software testing to a higher stage. Software to test the software to maximizeefficiency and improve the software testing, improve test accuracy. I wish to study inthe software testing process into the preparation of deployment of softwareautomation test framework to simplify software automation testing process, softwaredevelopment environment to reduce the threshold. Software testing to save cost andincrease the efficiency of software testingIn this thesis, the development of automated testing frameworks and applications.From the Windows7operating system software test automation test framework tostart in-depth study of the development and operation principles. From the perspectiveof Windows API, COM programming point of view,. Net Framework3.5point,respectively, the principle of writing code, try to load a different system libraries,Web-based classes and testing two types of procedures Win Form. I completed amajor three-part test code, which uses the Windows API some of the major Windowsoperating systems handle any element has a unique characteristic of specific elementsthrough code to find the handle, and through the Send Message and Post Messagefunctions specified The message is sent to one or more windows, so as to controlelements of automation. COM test code part I mainly take advantage of the IEbrowser’s inner structures, directly responsible for calling the bottom of the browserparse HTML element built library MSHTML.dll, in order to achieve directly from thebottom to find HTML elements, and to operate. IE as the underlying technology used,this part of the test framework code in the actual work is particularly high stability andcompatibility.. Net part of the direct use of the library that Microsoft has designed thefunction of Automaton, direct to find elements and its operation. Although this studyfrom three aspects the design of automated testing framework, but the ultimate goal isto test elements of the software for automatic identification and handling.Finally, I write these three technologies to integrate the code, and finallycompiled into an automated testing framework class library. Call can be implementedquickly, rapid development, rapid testing purposes. Greatly expanded the availabilityand use of paper. On this basis, a common testing framework written test, the test toimprove the efficiency of software testing. Paper is about the automation replacemanual testing, can greatly improve the test efficiency and accuracy. Automatedtesting in foreign countries has developed into a specialized research proposition. Andsoftware services in the foreign large companies such as IBM, TCS, Infosys andothers have specialized automated testing department. Most of the software serviceproviders in China remains at the foundation stage of manual testing, so have a good research paper promotion prospects, can achieve huge economic benefits. And thedevelopment of China’s software industry have some impact. Paper will rely onMicrosoft’s latest Microsoft Visual Studio2010for development tools. |