Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
References
Bajaj, K., Pattabiraman, K., Mesbah, A.: Synthesizing web element locators (t). In: 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE), pp. 331–341. IEEE (2015)
Bajammal, M., Mazinanian, D., Mesbah, A.: Generating reusable web components from mockups. In: Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering, pp. 601–611 (2018)
Biagiola, M., Stocco, A., Mesbah, A., Ricca, F., Tonella, P.: Web test dependency detection. In: Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, pp. 154–164 (2019)
Choudhary, S.R., Zhao, D., Versee, H., Orso, A.: Water: Web application test repair. In: Proceedings of the First International Workshop on End-to-End Test Script Engineering, pp. 24–29. ACM (2011)
Gao, Z., Chen, Z., Zou, Y., Memon, A.M.: SITAR: GUI test script repair. IEEE Trans. Software Eng. 42(2), 170–186 (2015)
Guarnieri, M., Tsankov, P., Buchs, T., Dashti, M.T., Basin, D.: Test execution checkpointing for web applications. In: Proceedings of the 26th ACM SIGSOFT International Symposium on Software Testing and Analysis, pp. 203–214. ACM (2017)
Hammoudi, M., Rothermel, G., Stocco, A.: WATERFALL: an incremental approach for repairing record-replay tests of web applications. In: Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering, pp. 751–762. ACM (2016)
Hammoudi, M., Rothermel, G., Tonella, P.: Why do record/replay tests of web applications break? In: 2016 IEEE International Conference on Software Testing, Verification and Validation (ICST), pp. 180–190. IEEE (2016)
Heil, S., Bakaev, M., Gaedke, M.: Measuring and ensuring similarity of user interfaces: The impact of web layout. In: International Conference on Web Information Systems Engineering (2016)
Imtiaz, J., Sherin, S., Khan, M.U., Iqbal, M.Z.: A systematic literature review of test breakage prevention and repair techniques. Inf. Softw. Technol. 113, 1–19 (2019)
Leotta, M., Clerissi, D., Ricca, F., Tonella, P.: Visual vs. DOM-based web locators: an empirical study. In: Casteleyn, S., Rossi, G., Winckler, M. (eds.) ICWE 2014. LNCS, vol. 8541, pp. 322–340. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-08245-5_19
Leotta, M., Clerissi, D., Ricca, F., Tonella, P.: Approaches and tools for automated end-to-end web testing. In: Advances in Computers, vol. 101, pp. 193–237. Elsevier (2016)
Leotta, M., Stocco, A., Ricca, F., Tonella, P.: Using multi-locators to increase the robustness of web test cases. In: 2015 IEEE 8th International Conference on Software Testing, Verification and Validation (ICST), pp. 1–10. IEEE (2015)
Leotta, M., Stocco, A., Ricca, F., Tonella, P.: ROBULA+: an algorithm for generating robust Xpath locators for web testing. J. Softw. Evol. Process 28(3), 177–204 (2016)
Stocco, A., Leotta, M., Ricca, F., Tonella, P.: APOGEN: automatic page object generator for web testing. Software Qual. J. 25(3), 1007–1039 (2017)
Stocco, A., Yandrapally, R., Mesbah, A.: Visual web test repair. In: Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, pp. 503–514. ACM (2018)
Tonella, P., Ricca, F., Marchetto, A.: Recent advances in web testing. In: Advances in Computers, vol. 93, pp. 1–51. Elsevier (2014)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Chen, W., Cao, H., Blanc, X. (2021). An Improving Approach for DOM-Based Web Test Suite Repair. In: Brambilla, M., Chbeir, R., Frasincar, F., Manolescu, I. (eds) Web Engineering. ICWE 2021. Lecture Notes in Computer Science(), vol 12706. Springer, Cham. https://doi.org/10.1007/978-3-030-74296-6_29
Download citation
DOI: https://doi.org/10.1007/978-3-030-74296-6_29
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-74295-9
Online ISBN: 978-3-030-74296-6
eBook Packages: Computer ScienceComputer Science (R0)