A Selenium based Approach to Automatic Test Script Generation for Refactoring Java']JavaScript Code

被引:0
|
作者
Chen, Ruifeng [1 ]
Miao, Huaikou [1 ]
机构
[1] Shanghai Univ, Sch Comp Engn & Sci, Shanghai 200072, Peoples R China
关键词
Selenium; !text type='Java']Java[!/text]Script Refactoring; The Framework of Script Automatic Generation; XML Schema;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:341 / 346
页数:6
相关论文
共 50 条
  • [1] Refactoring Java']Java Code for Automatic API Generation
    Liu, Genggeng
    Hu, Chuanshumin
    Chen, Shihong
    Zhang, Ying
    Chen, Xing
    [J]. 2018 INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, BIG DATA AND BLOCKCHAIN (ICCBB 2018), 2018, : 114 - 119
  • [2] Semi-Automatic Rename Refactoring for Java']JavaScript
    Feldthaus, Asger
    Moller, Anders
    [J]. ACM SIGPLAN NOTICES, 2013, 48 (10) : 323 - 337
  • [3] Identification and Refactoring of Exception Handling Code Smells in Java']JavaScript
    Hsieh, Chin-Yun
    Canh Le My
    Kim Thoa Ho
    Cheng, Yu Chin
    [J]. JOURNAL OF INTERNET TECHNOLOGY, 2017, 18 (06): : 1461 - 1471
  • [4] Automated refactoring of legacy Java']JavaScript code to ES6 modules
    Paltoglou, Katerina
    Zafeiris, Vassilis E.
    Diamantidis, N. A.
    Giakoumakis, E. A.
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2021, 181
  • [5] Refactoring Legacy Java']JavaScript Code to Use Classes: The Good, The Bad and The Ugly
    Silva, Leonardo Humberto
    Valente, Marco Tulio
    Bergel, Alexandre
    [J]. MASTERING SCALE AND COMPLEXITY IN SOFTWARE REUSE (ICSR 2017), 2017, 10221 : 155 - 171
  • [6] Automatic Modeling of Opaque Code for Java']JavaScript Static Analysis
    Park, Joonyoung
    Jordan, Alexander
    Ryu, Sukyoung
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING (FASE 2019), 2019, 11424 : 43 - 60
  • [7] Rule based production systems for automatic code generation in Java']Java
    Bajwa, Imran Sarwar
    Siddique, M. Imran
    Choudhary, M. Abbas
    [J]. 2006 1ST INTERNATIONAL CONFERENCE ON DIGITAL INFORMATION MANAGEMENT, 2006, : 300 - +
  • [8] Component-Based Java']Java Legacy Code Refactoring
    Arboleda, Hugo
    Paz, Andres
    Royer, Jean-Claude
    [J]. REVISTA FACULTAD DE INGENIERIA-UNIVERSIDAD DE ANTIOQUIA, 2013, (68): : 104 - 114
  • [9] Script InSight: Using Models to Explore Java']JavaScript Code from the Browser View
    Li, Peng
    Wohlstadter, Eric
    [J]. WEB ENGINEERING, PROCEEDINGS, 2009, 5648 : 260 - 274
  • [10] B-Refactoring: Automatic test code refactoring to improve dynamic analysis
    Xuan, Jifeng
    Cornu, Benoit
    Martinez, Matias
    Baudry, Benoit
    Seinturier, Lionel
    Monperrus, Martin
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2016, 76 : 65 - 80