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 条
  • [1] Test Case Generation and Optimization for Critical Path Testing Using Genetic Algorithm
    Mishra, Deepti Bala
    Mishra, Rajashree
    Das, Kedar Nath
    Acharya, Arup Abhinna
    SOFT COMPUTING FOR PROBLEM SOLVING, 2019, 817 : 67 - 80
  • [2] A New Test Case Generation for Web Service Choreography Testing by Using Metaheuristic Algorithm
    Nahak, Sunil Kumar
    Mohapatra, Durga Prasad
    Patra, Manas Ranjan
    SOFT COMPUTING IN DATA ANALYTICS, SCDA 2018, 2019, 758 : 817 - 824
  • [3] Test Data Generation for Mutation Testing Using Genetic Algorithm
    Mishra, Deepti Bala
    Mishra, Rajashree
    Acharya, Arup Abhinna
    Das, Kedar Nath
    SOFT COMPUTING FOR PROBLEM SOLVING, 2019, 817 : 857 - 867
  • [4] Automated Test Case Generation and Its Optimization for Path Testing Using Genetic Algorithm and Sampling
    Mohapatra, Debasis
    Bhuyan, Prachet
    Mohapatra, Durga P.
    2009 WASE INTERNATIONAL CONFERENCE ON INFORMATION ENGINEERING, ICIE 2009, VOL I, 2009, : 643 - +
  • [5] Automatic Test Case Generation for Unit Software Testing Using Genetic Algorithm and Mutation Analysis
    Khan, Rijwan
    Amjad, Mohd.
    2015 IEEE UP SECTION CONFERENCE ON ELECTRICAL COMPUTER AND ELECTRONICS (UPCON), 2015,
  • [6] Using genetic algorithms for test case generation in path testing
    Lin, JC
    Yeh, PL
    PROCEEDINGS OF THE NINTH ASIAN TEST SYMPOSIUM (ATS 2000), 2000, : 241 - 246
  • [7] Eccentric Test Data Generation for Path Testing Using Genetic Algorithm
    Mishra, Punam
    Mishra, Bhabani Shankar Prasad
    PROCEEDINGS OF 2009 INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND APPLICATIONS, 2009, : 613 - 616
  • [8] Test Case Generation for Vulnerability Detection Using Genetic Algorithm
    Shuai, Bo
    Li, Haifeng
    Wang, Jian
    Zhang, Quan
    Tang, Chaojing
    PROCEEDINGS OF THE 2015 4TH NATIONAL CONFERENCE ON ELECTRICAL, ELECTRONICS AND COMPUTER ENGINEERING ( NCEECE 2015), 2016, 47 : 1198 - 1203
  • [9] On using genetic algorithm for test generation
    Brik, M
    Raik, J
    Ubar, R
    Ivask, E
    BEC 2004: Proceeding of the 9th Biennial Baltic Electronics Conference, 2004, : 233 - 236
  • [10] Automatic test data generation for data flow testing using a genetic algorithm
    Girgis, MR
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2005, 11 (06) : 898 - 915