Research Article
Generating Test Data for Blackbox Testing from UML-Based Web Engineering Content and Presentation Models
@INPROCEEDINGS{10.1007/978-3-030-30149-1_17, author={Quyet-Thang Huynh and Dinh-Dien Tran and Duc-Man Nguyen and Nhu-Hang Ha and Thi-Mai-Anh Bui and Phi-Le Nguyen}, title={Generating Test Data for Blackbox Testing from UML-Based Web Engineering Content and Presentation Models}, proceedings={Industrial Networks and Intelligent Systems. 5th EAI International Conference, INISCOM 2019, Ho Chi Minh City, Vietnam, August 19, 2019, Proceedings}, proceedings_a={INISCOM}, year={2019}, month={9}, keywords={Web application testing Model-based testing Test case generation UML-based Web Engineering}, doi={10.1007/978-3-030-30149-1_17} }
- Quyet-Thang Huynh
Dinh-Dien Tran
Duc-Man Nguyen
Nhu-Hang Ha
Thi-Mai-Anh Bui
Phi-Le Nguyen
Year: 2019
Generating Test Data for Blackbox Testing from UML-Based Web Engineering Content and Presentation Models
INISCOM
Springer
DOI: 10.1007/978-3-030-30149-1_17
Abstract
Software testing is a process that produces and consumes huge amounts of data. Thus, the test data is usually either gathered manually by the testers or randomly generated by tools. The manual method consumes lot of time and highly depends on the testers’ experience while the random approach faces the problem of redundant test data caused by identical use cases. By leveraging the concept of Model-based testing, this paper provides a novel method of testing to save the cost of manual testing and to increase the reliability of the testing processes. In Model-based testing, test cases and test data can be derived from different models. In this paper, we present a technique to generate test data from UML-based Web Engineering (UWE) presentation model for web application testing by using formal specification and Z3 SMT solver. We also build a model-based testing Eclipse Plug-in tool called TESTGER-UWE that generates test data based on the model of UWE for the web application. We evaluate the proposed methods by applying them to generate test data for an Address Book project of UWE. Experimental results show that our proposed methods can reduce the time significantly when generating test data for automation test tools such as Selenium, Katalon, Unit test, etc.