An Improving Approach for DOM-Based Web Test Suite Repair

被引:2
|
作者
Chen, Wei [1 ,2 ]
Cao, Hanyang [1 ,2 ]
Blanc, Xavier [1 ]
机构
[1] Univ Bordeaux, LaBRI, UMR 5800, F-33400 Talence, France
[2] Beihang Univ, Beijing, Peoples R China
来源
WEB ENGINEERING, ICWE 2021 | 2021年 / 12706卷
关键词
Web test repair; Test suite; Web test evolution; Test case; Automated E2E test;
D O I
10.1007/978-3-030-74296-6_29
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Developers increasingly rely on end-to-end (E2E) testing to test the web applications they develop and check whether there are no bugs from the end user's perspective. An E2E test simulates the actions performed by the user using a browser and checks whether the web application returns the expected output. It considers web applications as a black box and only knows what user actions are and what their expected output is. However, once some evolutions are implemented on a web application, user actions may change (a button has been added, deleted, or just moved to another location), which may break the E2E test. Rebuilding new test suites takes a lot of time, especially for large web applications. Therefore, E2E testing needs to evolve with the development of web applications. To help the developers who face this situation, we present an approach, named WebTestSuiteRepair (WTSR), that aims to generate and compare test suite graphs to identify candidates for broken actions, hence helps to automatically and efficiently repair the E2E tests for web applications.
引用
收藏
页码:372 / 387
页数:16
相关论文
共 50 条
  • [31] Reusing web contents: a DOM approach
    Alvarez-Sabucedo, L. M.
    Anido-Rifon, L. E.
    Santos-Gago, J. M.
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2009, 39 (03): : 299 - 314
  • [32] A Test-suite Reduction Approach for Improving Path-Based Fault-Localization Effectiveness
    Gong Dandan
    Su Xiaohong
    Wang Tiantian
    Ma Peijun
    [J]. APPLIED DECISIONS IN AREA OF MECHANICAL ENGINEERING AND INDUSTRIAL MANUFACTURING, 2014, 577 : 1022 - 1025
  • [33] DomXssMicro: A Micro Benchmark for Evaluating DOM-based Cross-Site Scripting Detection
    Pan, Jinkun
    Mao, Xiaoguang
    [J]. 2016 IEEE TRUSTCOM/BIGDATASE/ISPA, 2016, : 208 - 215
  • [34] An automated model-based approach to repair test suites of evolving web applications
    Imtiaz, Javaria
    Iqbal, Muhammad Zohaib
    Khan, Muhammad Uzair
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2021, 171
  • [35] A test-suite reduction approach to improving fault-localization effectiveness
    Gong Dandan
    Wang Tiantian
    Su Xiaohong
    Ma Peijun
    [J]. COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2013, 39 (03) : 95 - 108
  • [36] DOM-based XHTML']HTML document structure analysis separating content from navigation elements
    Mantratzis, Constantine
    Cassidy, Steve
    [J]. INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE FOR MODELLING, CONTROL & AUTOMATION JOINTLY WITH INTERNATIONAL CONFERENCE ON INTELLIGENT AGENTS, WEB TECHNOLOGIES & INTERNET COMMERCE, VOL 1, PROCEEDINGS, 2006, : 632 - +
  • [37] Precise client-side protection against DOM-based Cross-Site Scripting
    Stock, Ben
    Lekies, Sebastian
    Mueller, Tobias
    Spiegel, Patrick
    Johns, Martin
    [J]. PROCEEDINGS OF THE 23RD USENIX SECURITY SYMPOSIUM, 2014, : 655 - 670
  • [38] A Greedy Approach for Coverage-Based Test Suite Reduction
    Harris, Preethi
    Raju, Nedunchezhian
    [J]. INTERNATIONAL ARAB JOURNAL OF INFORMATION TECHNOLOGY, 2015, 12 (01) : 17 - 23
  • [39] CASE BASED REASONING APPROACH FOR ADAPTIVE TEST SUITE OPTIMIZATION
    Rao, Narendra Kumar B.
    Reddy, RamaMohan A.
    [J]. 2012 THIRD INTERNATIONAL CONFERENCE ON COMPUTING COMMUNICATION & NETWORKING TECHNOLOGIES (ICCCNT), 2012,
  • [40] TEST SUITE REDUCTION USING HGS BASED HEURISTIC APPROACH
    Gladston, Angelin
    Nehemiah, H. Khanna
    Narayanasamy, P.
    Kannan, A.
    [J]. COMPUTING AND INFORMATICS, 2015, 34 (05) : 1113 - 1132