Title :
A Selenium based approach to automatic test script generation for refactoring JavaScript code
Author :
Ruifeng Chen ; Huaikou Miao
Author_Institution :
Sch. of Comput. Eng. & Sci., Shanghai Univ., Shanghai, China
Abstract :
During the development process of Web application, two essential phases are software testing and code refactoring. However, automatic testing script plays an important role in test automation. It has been a hot research topic in Web application. In order to refactor the JavaScript code of Web application more conveniently, an approach to automatic script generation from the defined test case is introduced in this paper. First, it describes the test case using customized XML format. Then, since Selenium platform supports multi-browsers testing, a method to transform XML description into test scripts based on Selenium framework is proposed as the emphasis.
Keywords :
Internet; Java; XML; program compilers; program testing; Selenium platform; Web application process development; XML description transform; XML format; automatic test script generation; refactoring JavaScript code; selenium based approach; software testing; Automation; Browsers; Context; Servers; Testing; Web pages; XML; JavaScript Refactoring; Selenium; The Framework of Script Automatic Generation; XML Schema;
Conference_Titel :
Computer and Information Science (ICIS), 2013 IEEE/ACIS 12th International Conference on
Conference_Location :
Niigata
DOI :
10.1109/ICIS.2013.6607864