ID | 67612 |
FullText URL | |
Author |
Aung, Soe Thandar
Department of Information and Communication Systems, Okayama University
Funabiki, Nobuo
Department of Information and Communication Systems, Okayama University
Kaken ID
publons
researchmap
Aung, Lynn Htet
Department of Information and Communication Systems, Okayama University
Kinari, Safira Adine
Department of Information and Communication Systems, Okayama University
Wai, Khaing Hsu
Department of Information and Communication Systems, Okayama University
Mentari, Mustika
Department of Information and Communication Systems, Okayama University
|
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.
|
Keywords | Flutter
FPLAS
testing
image
Flask
OpenCV
user interface
|
Published Date | 2024-08-03
|
Publication Title |
Information
|
Volume | volume15
|
Issue | issue8
|
Publisher | MDPI
|
Start Page | 464
|
ISSN | 2078-2489
|
Content Type |
Journal Article
|
language |
English
|
OAI-PMH Set |
岡山大学
|
Copyright Holders | © 2024 by the authors.
|
File Version | publisher
|
DOI | |
Web of Science KeyUT | |
Related Url | isVersionOf https://doi.org/10.3390/info15080464
|
License | https://creativecommons.org/licenses/by/4.0/
|
Citation | Aung, S.T.; Funabiki, N.; Aung, L.H.; Kinari, S.A.; Wai, K.H.; Mentari, M. An Image-Based User Interface Testing Method for Flutter Programming Learning Assistant System. Information 2024, 15, 464. https://doi.org/10.3390/info15080464
|