このエントリーをはてなブックマークに追加
ID 67612
フルテキストURL
fulltext.pdf 3.75 MB
著者
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
抄録
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.
キーワード
Flutter
FPLAS
testing
image
Flask
OpenCV
user interface
発行日
2024-08-03
出版物タイトル
Information
15巻
8号
出版者
MDPI
開始ページ
464
ISSN
2078-2489
資料タイプ
学術雑誌論文
言語
英語
OAI-PMH Set
岡山大学
著作権者
© 2024 by the authors.
論文のバージョン
publisher
DOI
Web of Science KeyUT
関連URL
isVersionOf https://doi.org/10.3390/info15080464
ライセンス
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