Skip to content
2000
Volume 11, Issue 4
  • ISSN: 2213-2759
  • E-ISSN: 1874-4796

Abstract

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.

Loading

Article metrics loading...

/content/journals/cseng/10.2174/2213275911666181004142946
2018-12-01
2025-09-06
Loading full text...

Full text loading...

/content/journals/cseng/10.2174/2213275911666181004142946
Loading
This is a required field
Please enter a valid email address
Approval was a Success
Invalid data
An Error Occurred
Approval was partially successful, following selected items could not be processed due to error
Please enter a valid_number test