Test case generation using progressively refined genetic algorithm for Ajax web application testing

被引:0
|
作者
Arora A. [1 ]
机构
[1] Department of Computer Science and Engineering, Jaypee Institute of Information Technology, Noida
关键词
AJAX; DOM; Genetic algorithm; Progressively refined genetic algorithm; State machine; Web applications testing;
D O I
10.2174/2213275911666181004142946
中图分类号
学科分类号
摘要
Background: The real strengths of AJAX technology are that AJAX web application is fit for the heterogeneous and autonomous environment. On the other hand, AJAX poses new challenges and difficulties for web application maintenance, evolution, and testing. Therefore, the prime aim of this research work is to present a testing environment for an AJAX web application testing to prevent web application functionalities from failure/ fault. Methods: In this research work, Ajax testing is directed toward revealing faults related to incorrect manipulation of the DOM. Initial impetus has been made to model the dynamic behavior of web application with the help of user session based state machine. User session-based state machine extracts states, transitions and DOM change behavior of objects in a specific user session performed on the web application. Further, the Progressively Refined Genetic Algorithm (PRGA) is used to generate test cases of dynamic functionality of the chosen AJAX web application under test with the help of generated user session based state machine. Results: In order to validate the effectiveness of PRGA in revealing faults, faults have been injected in AJAX web application and efficiency of PRGA approach is validated corresponding to faults revealing capability. PRGA is applied to detect faults in all required test case to improve effectiveness and results have been compared with respect to the traditional genetic algorithm for test case generation. Conclusion: The proposed PRGA is able to generate the reduced test case that can cover test requirements in reduced search time. © 2018 Bentham Science Publishers.
引用
收藏
页码:276 / 288
页数:12
相关论文
共 50 条
  • [31] Automated Regression Test Case Generation for Web Application: A Survey
    Gupta, Nishant
    Yadav, Vibhash
    Singh, Mayank
    ACM COMPUTING SURVEYS, 2018, 51 (04)
  • [32] Syntax-based Test Case Generation for Web Application
    Polpong, Jakkrit
    Kansomkeat, Supaporn
    2015 2ND INTERNATIONAL CONFERENCE ON COMPUTER, COMMUNICATIONS, AND CONTROL TECHNOLOGY (I4CT), 2015,
  • [33] Genetic Algorithm for Automatic Generation of Representative Test Suite for Mutation Testing
    Rao, C. Prakasa
    Govindarajulu, P.
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2015, 15 (02): : 11 - 17
  • [34] Automated Case Generation Using a Genetic Algorithm
    Borck, Hayley
    Boddy, Mark
    PROCEEDINGS OF THE 2017 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE COMPANION (GECCO'17 COMPANION), 2017, : 187 - 188
  • [35] Using improved genetic algorithm for software fault localization aided test case generation
    Yang B.
    He Y.
    Xu F.
    Chen Z.
    Beijing Hangkong Hangtian Daxue Xuebao/Journal of Beijing University of Aeronautics and Astronautics, 2023, 49 (09): : 2279 - 2288
  • [36] Component-Based Test Case Generation and Prioritization Using an Improved Genetic Algorithm
    Priya, T.
    Prasanna, M.
    INTERNATIONAL JOURNAL OF COOPERATIVE INFORMATION SYSTEMS, 2025, 34 (01)
  • [37] Test-Case Generation for Data Flow Testing of Smart Contracts Based on Improved Genetic Algorithm
    Ji, Shunhui
    Zhu, Shaoqing
    Zhang, Pengcheng
    Dong, Hai
    Yu, Jianan
    IEEE TRANSACTIONS ON RELIABILITY, 2023, 72 (01) : 358 - 371
  • [38] Automation of Test Case Generation and Execution for Testing Web Service Orchestrations
    Stoyanova, Vera
    Petrova-Antonova, Dessislava
    Ilieva, Sylvia
    2013 IEEE SEVENTH INTERNATIONAL SYMPOSIUM ON SERVICE-ORIENTED SYSTEM ENGINEERING (SOSE 2013), 2013, : 274 - 279
  • [39] Adaptive testing, oracle generation, and test case ranking for web services
    Tsai, WT
    Chen, Y
    Paul, R
    Huang, H
    Zhou, XY
    Wei, X
    PROCEEDINGS OF THE 29TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, 2005, : 101 - 106
  • [40] Ontology-based test case generation for testing web services
    Wang, Yongbo
    Bai, Xiaoying
    Li, Juanzi
    Huang, Rubo
    EIGHTH INTERNATIONAL SYMPOSIUM ON AUTONOMOUS DECENTRALIZED SYSTEMS, PROCEEDINGS, 2007, : 43 - 50