On the Use of Generative Deep Learning Approaches for Generating Hidden Test Scripts
Authors:
- 1 October 2021
- journal article
- research article
- Published by World Scientific Pub Co Pte Ltd in International Journal of Software Engineering and Knowledge Engineering
- Vol. 31 (10) , 1447-1468
Abstract
With the advent of web 2.0, web application architectures have been evolved, and their complexity has grown enormously. Due to the complexity, testing of web applications is getting time-consuming and intensive process. In today’s web applications, users can achieve the same goal by performing different actions. To ensure that the entire system is safe and robust, developers try to test all possible user action sequences in the testing phase. Since the space of all the possibilities is enormous, covering all user action sequences can be impossible. To automate the test script generation task and reduce the space of the possible user action sequences, we propose a novel method based on long short-term memory (LSTM) network for generating test scripts from user clickstream data. The experiment results clearly show that generated hidden test sequences are user-like sequences, and the process of generating test scripts with the proposed model is less time-consuming than writing them manually.Keywords
This publication has 17 references indexed in Scilit:
- An Approach to Standalone Provenance Systems for Big Social Provenance Data2016
- A Controlled Experiment in Testing of Safety-Critical Embedded Software2016
- Why do Record/Replay Tests of Web Applications Break?2016
- A revisit of three studies related to random testingScience China Information Sciences, 2015
- Using artificial intelligence to automatically test GUI2014
- Fault tolerant high performance Information Services for dynamic collections of Grid and Web servicesFuture Generation Computer Systems, 2007
- Long Short-Term MemoryNeural Computation, 1997
- Maximum Likelihood: An IntroductionInternational Statistical Review, 1990
- Perplexity—a measure of the difficulty of speech recognition tasksThe Journal of the Acoustical Society of America, 1977
- On Information and SufficiencyThe Annals of Mathematical Statistics, 1951