Font Size: a A A

Development Of Web Application Testing Framework Based On Selenium

Posted on:2015-08-04Degree:MasterType:Thesis
Country:ChinaCandidate:Y M WangFull Text:PDF
GTID:2298330452966811Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Along with increasing popularity and complexity of Web enterprise applications, Webtesting requirements are increasingly higher. More and more software companies choose touse automation testing tools to do the tedious, repeatable manual testing to improve testefficiency, test coverage and resource utilization. However, the prices of commercialautomation software are very high, therefore Selenium as an open source automated testingtools for Web, are used by more and more testing teams to build their own automation testingframework, due to its expansibility, compatibility and usability.This paper designs and implements a Selenium based automation testing frameworkbased on the analysis of product lifecycle management (PLM) systems under test. Theframework is a hybrid framework which combines the advantages of script modularityframework, data-driven framework, and keyword-driven testing framework. It’s composed bytest script execution frame Radar and test script library Solvent. Radar has3modules-RadarAnt, Radar Core and Selenium foundation classes. Radar Ant reads data from a local, andcustomizes Ant Task to run the Radar. Radar Selenium foundation classes encapsulateSelenium basic classes, and it is the interface of Selenium framework. Radar Coreimplements the core of the framework, which initializes environment, dynamically generatestest set, runs tests, and generates test reports. Test Script Library Solvent provides some basicclasses for testers to write test scripts at business level.The framework uses Java language under Eclipse IDE to code, uses Java Properties fileto deal with system configuration data, uses xml file to store test input data, uses unit testingframework Junit to drive test and generates test reports, uses Ant to build test suite, compilesand runs test. And it also uses Firebug and XPath Checker tool to help debug codes.Currently, the automation test framework developed in this paper has been used to testthe enterprise PLM software. Practical results of the regression test on several versions of thePLM software have fully proved that the framework can improve testing efficiency andreduce testing cost and resource.
Keywords/Search Tags:Web Application Testing, Selenium, Automation Testing, Framework
PDF Full Text Request
Related items