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 条
  • [1] PESTO: Automated migration of DOM-based Web tests towards the visual approach
    Leotta, Maurizio
    Stocco, Andrea
    Ricca, Filippo
    Tonella, Paolo
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2018, 28 (04):
  • [2] Detection of DOM-Based XSS Attack on Web Application
    Ninawe, Shubhangi
    Wajgi, Rakhi
    [J]. INTELLIGENT COMMUNICATION TECHNOLOGIES AND VIRTUAL MOBILE NETWORKS, ICICV 2019, 2020, 33 : 633 - 641
  • [3] DOM-based Web Pages to Determine the Structure of the Similarity Algorithm
    Kang, Chunying
    [J]. 2009 THIRD INTERNATIONAL SYMPOSIUM ON INTELLIGENT INFORMATION TECHNOLOGY APPLICATION, VOL 2, PROCEEDINGS, 2009, : 245 - 248
  • [4] Automated Generation of Visual Web Tests from DOM-based Web Tests
    Leotta, Maurizio
    Stocco, Andrea
    Ricca, Filippo
    Tonella, Paolo
    [J]. 30TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, VOLS I AND II, 2015, : 775 - 782
  • [5] PESTO: A Tool for Migrating DOM-based to Visual Web Tests
    Stocco, Andrea
    Leotta, Maurizio
    Ricca, Filippo
    Tonella, Paolo
    [J]. 2014 14TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2014), 2014, : 65 - 70
  • [6] DOM-based multi-factor web information extraction study
    Zhang, Shun
    Chen, Xingshu
    Tan, Jun
    [J]. MATERIALS, MECHATRONICS AND AUTOMATION, PTS 1-3, 2011, 467-469 : 1267 - 1272
  • [7] DOM-Based Print-Link Detection for Web Article Extraction
    Liu, Sam
    Lim, Suk-Hwan
    Liu, Jerry
    [J]. IMAGING AND PRINTING IN A WEB 2.0 WORLD II, 2011, 7879
  • [8] Visual vs. DOM-Based Web Locators: An Empirical Study
    Leotta, Maurizio
    Clerissi, Diego
    Ricca, Filippo
    Tonella, Paolo
    [J]. WEB ENGINEERING, ICWE 2014, 2014, 8541 : 322 - 340
  • [9] Improving Navigation Page Detection by Using DOM-Based Block Text Identification
    Li Yue
    Dong Shou-bin
    Zheng Xiang
    Ma Bin-hua
    [J]. 2012 TENTH INTERNATIONAL CONFERENCE ON ICT AND KNOWLEDGE ENGINEERING, 2012, : 129 - 134
  • [10] Mapping XML data to relational data: A DOM-based approach
    Atay, M
    Sun, YZ
    Liu, DP
    Lu, SY
    Fotouhi, F
    [J]. PROCEEDINGS OF THE EIGHTH IASTED INTERNATIONAL CONFERENCE ON INTERNET AND MULTIMEDIA SYSTEMS AND APPLICATIONS, 2004, : 59 - 64