Recent years have witnessed the widespread adoption of mobile applications(apps for short).For quality-of-service and commercial competitiveness,sufficient Graphical User Interface(GUI)testing is required to verify th...Recent years have witnessed the widespread adoption of mobile applications(apps for short).For quality-of-service and commercial competitiveness,sufficient Graphical User Interface(GUI)testing is required to verify the robustness of the apps.Given that testing with manual efforts is time-consuming and error-prone,automated GUI testing has been widely studied.However,existing approaches mostly focus on GUI exploration while lacking attention to complex interactions with apps,especially generating appropriate text inputs like real users.In this paper,we introduce CamDroid,a lightweight context-aware automated GUI testing tool,which can efficiently explore app activities through(1)a model-based UI-guided testing strategy informed by the context of previous event-activity transitions and(2)a data-driven text input generation approach regarding the GUI context.We evaluate CamDroid on 20 widely-used apps.The results show that CamDroid outperforms non-trivial baselines in activity coverage,crash detection,and test efficiency.展开更多
目的根据中文手机文本输入的特点,以拼音输入法为基础,探讨在操作标准手机键盘时,对于两个接连字母的输入,其字母所处按键的相对距离不同,在操作绩效上是否存在差异。方法实验中采用Sony Ericsson W 800C手机作为实验材料,通过完全被试...目的根据中文手机文本输入的特点,以拼音输入法为基础,探讨在操作标准手机键盘时,对于两个接连字母的输入,其字母所处按键的相对距离不同,在操作绩效上是否存在差异。方法实验中采用Sony Ericsson W 800C手机作为实验材料,通过完全被试内设计,从被试的反应时和正确率两方面对文本输入绩效加以研究。结果当两个字母处于同一按键、相邻按键以及远离的按键时,反应时之间存在显著差异;各按键组合类别之间的正确率差异显著。结论(1)对于连接输入的字母,各字母所处的按键的相对距离对输入绩效有较大影响;(2)被试操作的反应时和正确率均存在男女差异,且差异显著。展开更多
基金supported by the National Key R&D Program of China(No.2022YFB4500703)the National Natural Science Foundation of China(Nos.61902211 and 62202266)+1 种基金the China Postdoctoral Science Foundation(No.2022M721831)Microsoft Research Asia(No.100336949).
文摘Recent years have witnessed the widespread adoption of mobile applications(apps for short).For quality-of-service and commercial competitiveness,sufficient Graphical User Interface(GUI)testing is required to verify the robustness of the apps.Given that testing with manual efforts is time-consuming and error-prone,automated GUI testing has been widely studied.However,existing approaches mostly focus on GUI exploration while lacking attention to complex interactions with apps,especially generating appropriate text inputs like real users.In this paper,we introduce CamDroid,a lightweight context-aware automated GUI testing tool,which can efficiently explore app activities through(1)a model-based UI-guided testing strategy informed by the context of previous event-activity transitions and(2)a data-driven text input generation approach regarding the GUI context.We evaluate CamDroid on 20 widely-used apps.The results show that CamDroid outperforms non-trivial baselines in activity coverage,crash detection,and test efficiency.
文摘目的根据中文手机文本输入的特点,以拼音输入法为基础,探讨在操作标准手机键盘时,对于两个接连字母的输入,其字母所处按键的相对距离不同,在操作绩效上是否存在差异。方法实验中采用Sony Ericsson W 800C手机作为实验材料,通过完全被试内设计,从被试的反应时和正确率两方面对文本输入绩效加以研究。结果当两个字母处于同一按键、相邻按键以及远离的按键时,反应时之间存在显著差异;各按键组合类别之间的正确率差异显著。结论(1)对于连接输入的字母,各字母所处的按键的相对距离对输入绩效有较大影响;(2)被试操作的反应时和正确率均存在男女差异,且差异显著。