Font Size: a A A

Improvement And Implementation Of Selenium-based Web Automation Test Tools

Posted on:2017-03-10Degree:MasterType:Thesis
Country:ChinaCandidate:Z Y JiaFull Text:PDF
GTID:2358330512960213Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the popularity of the Web application in the enterprise application, Web applications have penetrated into every aspect of people’s life, so that the users are requiring the more and more high quality of the Web application. At the same time, the complexity and openness of the Web application bring the difficulties and challenges to Web test. And the traditional manual test has been gradually inadaptable to the highly competitive situation of the Web applications. Thus, automated software testing has become the development trend in software testing field. In order to improve the test efficiency and reduce the pressure of the tester, more and more companies have been using automated testing tools to improve the test efficiency and the quality of product. But many small and medium enterprises shrink back of the high price of the commercial automated testing software. So many companies are trying to find an open source test automation tool which has easy expansibility and strong compatibility.The automated testing tool Selenium has two problems:the tool itself temporarily has no data driven which makes it cannot process the rapid increase of the test data; there exists some problems such as inaccurate positioning of elements, the page waiting error report, nonsupport XPath positioning elements by IE browser and so on. Therefore, this paper puts forward the relevant improvements of these deficiencies.Using Excel table to achieve data driven, to achieve the purpose of rapid increase in test data.Flexible use of XPath, ID, name and other positioning elements, the main use of XPath positioning.Change the jar package, so that the IE browser supports XPath positioning.Increase the function to deal with the page waiting error report.Finally, we used the extended Selenium tool to develop a detailed test plan for the HappyStudy platform. And the automated testing of this platform was completed successfully according to the automated testing process. It is proved that the improved testing tool will be more effective and faster to complete the testing of the Web applications.
Keywords/Search Tags:automated testing, Web application, Selenium, software test
PDF Full Text Request
Related items