Affiliation:
1. Department of Information and Communication Systems, Okayama University, Okayama 700-8530, Japan
Abstract
Flutter has become popular for providing a uniform development environment for user interfaces (UIs) on smart phones, web browsers, and desktop applications. We have developed the Flutter programming learning assistant system (FPLAS) to assist its novice students’ self-study. We implemented the Docker-based Flutter environment with Visual Studio Code and three introductory exercise projects. However, the correctness of students’ answers is manually checked, although automatic checking is necessary to reduce teachers’ workload and provide quick responses to students. This paper presents an image-based user interface (UI) testing method to automate UI testing by the answer code using the Flask framework. This method produces the UI image by running the answer code and compares it with the image made by the model code for the assignment using ORB and SIFT algorithms in the OpenCV library. One notable aspect is the necessity to capture multiple UI screenshots through page transitions by user input actions for the accurate detection of changes in UI elements. For evaluations, we assigned five Flutter exercise projects to fourth-year bachelor and first-year master engineering students at Okayama University, Japan, and applied the proposed method to their answers. The results confirm the effectiveness of the proposal.
Reference47 articles.
1. Criollo-C, S., Guerrero-Arias, A., Jaramillo-Alcázar, Á., and Luján-Mora, S. (2021). Mobile Learning Technologies for Education: Benefits and Pending Issues. Appl. Sci., 11.
2. McQuiggan, S., Kosturko, L., McQuiggan, J., and Sabourin, J. (2015). Mobile Learning: A Handbook for Developers, Educators, and Learners, Wiley.
3. (2024, June 01). Flutter. Available online: https://docs.flutter.dev/.
4. (2024, June 01). Dart. Available online: https://dart.dev/overview/.
5. Aung, S.T., Funabiki, N., Aung, L.H., Kinari, S.A., Mentari, M., and Wai, K.H. (2024). A Study of Learning Environment for Initiating Flutter App Development Using Docker. Information, 15.