Back to Search Start Over

An Image-Based User Interface Testing Method for Flutter Programming Learning Assistant System.

Authors :
Aung, Soe Thandar
Funabiki, Nobuo
Aung, Lynn Htet
Kinari, Safira Adine
Wai, Khaing Hsu
Mentari, Mustika
Source :
Information (2078-2489). Aug2024, Vol. 15 Issue 8, p464. 17p.
Publication Year :
2024

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. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
20782489
Volume :
15
Issue :
8
Database :
Academic Search Index
Journal :
Information (2078-2489)
Publication Type :
Academic Journal
Accession number :
179353933
Full Text :
https://doi.org/10.3390/info15080464