Font Size: a A A

The Design And Implementation Of A Test Automation System Based On Microsoft Coded UI Test

Posted on:2016-07-10Degree:MasterType:Thesis
Country:ChinaCandidate:N X YuanFull Text:PDF
GTID:2348330503994048Subject:Software engineering
Abstract/Summary:PDF Full Text Request
The software manual testing is low efficiency, and is easy to import unexpected failures. The manual testing execution for software regression testing is more time consuming. So much more companies choose automation tools and scripts to implement test automation for evaluating software quality. For the current test automation technologies, some of them could support multiple applications, but the license fee is really expensive and takes long time for implementation, the other source free tools could support few applications with lots of limitation. Based on this situation, they are expecting a more powerful test automation technology with acceptable license fee, fast implementable and easy for maintenance which could fit the requirements from various industries.Microsoft Coded UI Test Framework(CUIT), was launched by Microsoft as the UI test automation framework. As the new member of UI Test Automation framework, CUIT could help test automation engineer to develop UI based automation test case fastly. CUIT supports test scripts record, code generation, edit and playback. With the affluent API libraries, CUIT perfectly supports Microsoft Internet Explorer browser; it also supports WPF, Win Form, and Web applications. With the integration with Microsoft Team Foundation Server and Microsoft Test Manager, CUIT has been a critical part of entire software development lifecycle, which significantly improve the productivity of the whole software project team.Valuable for these advantages, CUIT has been the priority choice for software UI test automation approach. The current documentations are more focus on automated test case record and playback with CUIT, but lacks of systematic description of the entire test automation framework design and implementation. This thesis performed lots of research for the test automation solution by using the testing of a company's Office Automation system. With the analysis of all testing activities in the application software testing lifecycle and the business requirement of the system under test, this thesis performed research on CUIT objects identification mechanism and the implementation for Data-Driven test in CUIT test automation solution, analyzed the functional requirement and non-functional requirement of the automation system, implemented a distributed automation system which support flexible extension, Data-Driven, and compatible with multiple browsers, which supports the following system functionalities:1) The implementation of automated test case.2) The association of manual test case and automated test case.3) The management of automated test case.4) The execution of automated test case.5) The analysis and report of test result.With the assessment while the test automation system launched 6 months, the system could support test automation of ASP.Net websites, Silverlight applications, WPF applications and other similar systems. Meanwhile, the implementation of shared test steps, Data-Driven test method, distribution test method, Plug-in with Selenium and the integration with Team Foundation Server improved the test efficiency significantly, the total testing effort was reduced 27% after 6 months, and it's expected to reduce 47% after 12 months. And the assessment has proved the system design achievement of low cost, high reusability, high maintainability, high compatibility, rapid execution and traceability for all test results.
Keywords/Search Tags:Test Automation, Coded UI, Data-Driven, Distributed Test
PDF Full Text Request
Related items