[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3025171.3025190acmconferencesArticle/Chapter ViewAbstractPublication PagesiuiConference Proceedingsconference-collections
research-article

UI X-Ray: Interactive Mobile UI Testing Based on Computer Vision

Published: 07 March 2017 Publication History

Abstract

User Interface/eXperience (UI/UX) significantly affects the lifetime of any software program, particularly mobile apps. A bad UX can undermine the success of a mobile app even if that app enables sophisticated capabilities. A good UX, however, needs to be supported of a highly functional and user friendly UI design. In spite of the importance of building mobile apps based on solid UI designs, UI discrepancies---inconsistencies between UI design and implementation---are among the most numerous and expensive defects encountered during testing. This paper presents UI X-Ray, an interactive UI testing system that integrates computer-vision methods to facilitate the correction of UI discrepancies---such as inconsistent positions, sizes and colors of objects and fonts. Using UI X-Ray does not require any programming experience; therefore, UI X-Ray can be used even by non-programmers---particularly designers---which significantly reduces the overhead involved in writing tests. With the feature of interactive interface, UI testers can quickly generate defect reports and revision instructions---which would otherwise be done manually. We verified our UI X-Ray on 4 developed mobile apps of which the entire development history was saved. UI X-Ray achieved a 99.03% true-positive rate, which significantly surpassed the 20.92% true-positive rate obtained via manual analysis. Furthermore, evaluating the results of our automated analysis can be completed quickly (< 1 minute per view on average) compared to hours of manual work required by UI testers. On the other hand, UI X-Ray received the appreciations from skilled designers and UI X-Ray improves their current work flow to generate UI defect reports and revision instructions. The proposed system, UI X-Ray, presented in this paper has recently become part of a commercial product.

References

[1]
Chang, T.-H., Yeh, T., and Miller, R. C. GUI Testing Using Computer Vision. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, ACM (NY, NY, USA, 2010), 1535--1544.
[2]
Espresso Test Recorder. http://android-developers.blogspot.nl/2016/05/android-studio-22-preview-new-ui.html, 2016.
[3]
FBSnapshotTestCase. https://github.com/facebook/ios-snapshot-test-case, 2016.
[4]
Fighting Layout Bugs. https://code.google.com/archive/p/fighting-layout-bugs/.
[5]
Lewis, J. P. Fast template matching. In Vision interface, vol. 95 (1995), 15--19.
[6]
Ligman, J., Pistoia, M., Tripp, O., and Thomas, G. Improving Design Validation of Mobile Application User Interface Implementation. In Proceedings of the International Conference on Mobile Software Engineering and Systems, ACM (NY, NY, USA, 2016), 277--278.
[7]
Lloyd, S. Least squares quantization in pcm. IEEE Trans. Inf. Theor. 28, 2 (Sept. 2006), 129--137.
[8]
Mahajan, S., and Halfond, W. G. J. Detection and Localization of HTML Presentation Failures Using Computer Vision-Based Techniques. In 2015 IEEE 8th International Conference on Software Testing, Verification and Validation (ICST), IEEE (Apr. 2015), 1--10.
[9]
Mahajan, S., Li, B., Behnamghader, P., and Halfond, W. G. J. Using Visual Symptoms for Debugging Presentation Failures in Web Applications. In 2016 IEEE International Conference on Software Testing, Verification and Validation (ICST), IEEE (Apr. 2016), 191--201.
[10]
Open Source Computer Vision Library. http://opencv.org, 2016.
[11]
Screenshot Tests for Android. https://github.com/facebook/screenshot-tests-for-android, 2016.
[12]
Selenium. http://docs.seleniumhq.org/.
[13]
User Interface Testing. https://developer.apple.com/videos/play/wwdc2015/406/, 2015.

Cited By

View all
  • (2025)Model-based test execution from high-level natural language instructions using GPT-4Software Quality Journal10.1007/s11219-025-09712-933:1Online publication date: 1-Mar-2025
  • (2024)Generating Automatic Feedback on UI Mockups with Large Language ModelsProceedings of the 2024 CHI Conference on Human Factors in Computing Systems10.1145/3613904.3642782(1-20)Online publication date: 11-May-2024
  • (2024)Perceived User Reachability in Mobile UIs Using Data Analytics and Machine LearningInternational Journal of Human–Computer Interaction10.1080/10447318.2024.232719941:4(2703-2726)Online publication date: 25-Mar-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
IUI '17: Proceedings of the 22nd International Conference on Intelligent User Interfaces
March 2017
654 pages
ISBN:9781450343480
DOI:10.1145/3025171
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 07 March 2017

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. interactive interface
  2. software engineering
  3. user interface testing

Qualifiers

  • Research-article

Conference

IUI'17
Sponsor:

Acceptance Rates

IUI '17 Paper Acceptance Rate 63 of 272 submissions, 23%;
Overall Acceptance Rate 746 of 2,811 submissions, 27%

Upcoming Conference

IUI '25

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)50
  • Downloads (Last 6 weeks)2
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2025)Model-based test execution from high-level natural language instructions using GPT-4Software Quality Journal10.1007/s11219-025-09712-933:1Online publication date: 1-Mar-2025
  • (2024)Generating Automatic Feedback on UI Mockups with Large Language ModelsProceedings of the 2024 CHI Conference on Human Factors in Computing Systems10.1145/3613904.3642782(1-20)Online publication date: 11-May-2024
  • (2024)Perceived User Reachability in Mobile UIs Using Data Analytics and Machine LearningInternational Journal of Human–Computer Interaction10.1080/10447318.2024.232719941:4(2703-2726)Online publication date: 25-Mar-2024
  • (2023)Towards Generating UI Design Feedback with LLMsAdjunct Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology10.1145/3586182.3615810(1-3)Online publication date: 29-Oct-2023
  • (2023)Learning and Understanding User Interface Semantics from Heterogeneous Networks with Multimodal and Positional AttributesACM Transactions on Interactive Intelligent Systems10.1145/357852213:3(1-31)Online publication date: 11-Sep-2023
  • (2022)Predicting and Explaining Mobile UI Tappability with Vision Modeling and Saliency AnalysisProceedings of the 2022 CHI Conference on Human Factors in Computing Systems10.1145/3491102.3517497(1-21)Online publication date: 29-Apr-2022
  • (2022)A Survey on the Use of Computer Vision to Improve Software Engineering TasksIEEE Transactions on Software Engineering10.1109/TSE.2020.303298648:5(1722-1742)Online publication date: 1-May-2022
  • (2022)Cross-Device Difference Detector for Mobile Application GUI Compatibility Testing2022 IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW)10.1109/ICSTW55395.2022.00052(253-260)Online publication date: Apr-2022
  • (2021)Automated Visual Testing of Application User Interfaces Using Static Analysis of ScreenshotsInternational Journal of Software Engineering and Knowledge Engineering10.1142/S021819402150004231:02(167-191)Online publication date: 2-Mar-2021
  • (2020)GUI-Guided Test Script Repair for Mobile AppsIEEE Transactions on Software Engineering10.1109/TSE.2020.3007664(1-1)Online publication date: 2020

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media