Write a Blog >>
ICSE 2020
Wed 24 June - Thu 16 July 2020
Fri 10 Jul 2020 07:00 - 07:12 at Goguryeo - I20-Android Testing Chair(s): Shing-Chi Cheung

Existing GUI testing approaches of Android apps usually test apps from a single entry, in this way, the marginal activities far away from the default entry are difficult to be covered. The marginal activities may fail to be launched due to requiring a great number of activity transitions or involving complex user operations, leading to uneven coverage on activity components. Besides, since the test space of GUI programs is infinite, it is difficult to test activities under complete launching contexts using single-entry testing approaches.

In this paper, we address these issues by constructing activity launching contexts and proposing a multiple-entry testing framework. We perform an inter-procedural, flow-, context- and path-sensitive analysis to build activity launching models and generate complete launching contexts. By exposing activities, we could launch them directly under various contexts without performing long event sequence on GUI. Besides, to achieve an in-depth exploration and detect more bugs, we design an adaptive exploration framework which supports the multiple-entry exploration and dynamically assigns a weight to each entry.

Our approach is implemented in a tool called \textit{Fax}, with an activity launching strategy Fax${la}$ and an exploration strategy Fax${ex}$. The experiments on 20 real-world apps show that Fax${la}$ can successfully launch 68.5% activities, based on which Fax${ex}$ further achieves a relatively 18.0% improvement on method coverage compared with the most popular tool Monkey. Our tool also behaves well in revealing hidden bugs. The number of unique crashes detected by Fax, which is over four hundred, is significantly higher than those of other tools. Among the 45 crashes reported to developers on Github, 24 have been fixed and 4 have been confirmed.

Fri 10 Jul
Times are displayed in time zone: (UTC) Coordinated Universal Time change

07:00 - 08:00
I20-Android TestingTechnical Papers at Goguryeo
Chair(s): Shing-Chi CheungDepartment of Computer Science and Engineering, The Hong Kong University of Science and Technology
07:00
12m
Talk
Multiple-Entry Testing of Android Applications by Constructing Activity Launching ContextsTechnicalArtifact Available
Technical Papers
Jiwei YanInstitute of Software, Chinese Academy of Sciences, Hao LiuBeijing University of Technology, Linjie PanInstitute of Software, Chinese Academy of Sciences, Jun YanInstitute of Software, Chinese Academy of Sciences, Jian ZhangInstitute of Software, Chinese Academy of Sciences, Bin LiangRenmin University of China, China
07:12
12m
Talk
Time-travel Testing of Android AppsACM SIGSOFT Distinguished Paper AwardsArtifact ReusableTechnicalArtifact Available
Technical Papers
Zhen DongNational University of Singapore, Marcel BöhmeMonash University, Lucia CojocaruPolitehnica University of Bucharest, Abhik RoychoudhuryNational University of Singapore, Singapore
07:24
12m
Talk
Collaborative Bug Finding for Android AppsTechnical
Technical Papers
Shin Hwei TanSouthern University of Science and Technology, Ziqiang LiSouthern University of Science and Technology
Media Attached File Attached
07:36
12m
Talk
An Empirical Assessment of Security Risks of Global Android Banking AppsTechnical
Technical Papers
Sen ChenNanyang Technological University, Singapore, Lingling FanNanyang Technological University, Singapore, Guozhu MengInstitute of Information Engineering, Chinese Academy of Sciences, Ting SuETH Zurich, Switzerland, Jason Minhui XueThe University of Adelaide, Yinxing Xue, Yang LiuNanyang Technological University, Singapore, Lihua XuNew York University Shanghai
Pre-print
07:48
12m
Talk
RoScript: A Visual Script Driven Truly Non-Intrusive Robotic Testing System for Touch Screen ApplicationsTechnical
Technical Papers
Ju QianNanjing University of Aeronautics and Astronautics, Zhengyu ShangNanjing University of Aeronautics and Astronautics, Shuoyan YanNanjing University of Aeronautics and Astronautics, Yan Wang, Lin ChenNanjing University