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 条
  • [21] Swiss cheese test case generation for web services testing
    Tsai, WT
    Wei, X
    Chen, YN
    Paul, R
    Xiao, BM
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2005, E88D (12): : 2691 - 2698
  • [22] Performance of Enhanced Multiple-Searching Genetic Algorithm for Test Case Generation in Software Testing
    Khamprapai, Wanida
    Tsai, Cheng-Fa
    Wang, Paohsi
    Tsai, Chi-En
    MATHEMATICS, 2021, 9 (15)
  • [23] Test Case Generation Based on Adaptive Genetic Algorithm
    Lin, Peng
    Bao, Xiaolu
    Shu, Zhiyong
    Wang, Xiaojuan
    Liu, Jingmin
    2012 INTERNATIONAL CONFERENCE ON QUALITY, RELIABILITY, RISK, MAINTENANCE, AND SAFETY ENGINEERING (ICQR2MSE), 2012, : 863 - 866
  • [24] Test Case Generation Based on Hierarchical Genetic Algorithm
    Liu Shurong
    Hu Changzhen
    Xue Jingfeng
    Li Zhiqiang
    PROCEEDINGS OF THE 2014 INTERNATIONAL CONFERENCE ON MECHATRONICS, CONTROL AND ELECTRONIC ENGINEERING, 2014, 113 : 262 - 265
  • [25] Effective Generation of Test Case Based on Genetic Algorithm
    Shi, Zhiguo
    Zou, Liren
    Tong, Dapeng
    Wang, Mingqian
    MECHATRONICS AND INDUSTRIAL INFORMATICS, PTS 1-4, 2013, 321-324 : 2952 - 2955
  • [26] Test Script Generation Based on Design Documents for Web Application Testing
    Tanno, Haruto
    Zhang, Xiaojing
    IEEE 39TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS (COMPSAC 2015), VOL 3, 2015, : 672 - 673
  • [27] Application of Improved Genetic Algorithm in Automatic Test Paper Generation
    Zhang, Kui
    Zhu, Lingchen
    2015 CHINESE AUTOMATION CONGRESS (CAC), 2015, : 495 - 498
  • [28] Automatic Test Data Generation Using a Genetic Algorithm
    Aleb, Nassima
    Kechid, Samir
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2013, PT II, 2013, 7972 : 574 - 586
  • [29] Fault-Based Test Case Prioritization of Regression Testing Using Genetic Algorithm
    Priya, T.
    Prasanna, M.
    INTERNATIONAL JOURNAL OF E-COLLABORATION, 2022, 18 (02)
  • [30] Generation of Pairwise Test Sets using a Genetic Algorithm
    McCaffrey, James D.
    2009 IEEE 33RD INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOLS 1 AND 2, 2009, : 620 - 625