Journal Article

·2021

On the Use of Generative Deep Learning Approaches for Generating Hidden Test Scripts

Mert Oz YTU , Caner Kaya YTU , Erdi Ölmezoğulları , Mehmet S. Aktaş YTU

International Journal of Software Engineering and Knowledge Engineering

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

Computer science Scripting language Task (project management) Process (computing) Test script Web application Clickstream Action (physics) Test (biology) Artificial intelligence Test case Human–computer interaction Machine learning World Wide Web Web page Programming language Web modeling Web API Engineering

Subject Areas

Software Testing and Debugging Techniques ·Software ·Physical Sciences
Software System Performance and Reliability ·Computer Networks and Communications ·Physical Sciences
Software Engineering Research ·Information Systems ·Physical Sciences

Citations by Year

OpenAlex SDG Match

SDGs auto-classified by OpenAlex (score ≥ 0.4 shown).

Quality Education 67%