Automated Adaptive Test for Android Apps on Diversified Touchscreen Devices

碩士 === 國立交通大學 === 資訊科學與工程研究所 === 102 === Android, which is compatible to various models, mainly takes user input from touchscreen, and even the screens are distinct among each other. Due to the screen diversity, to imitate user gestures for software testing becomes difficult and unfeasible to reuse...

Full description

Bibliographic Details
Main Authors: Li, Shan-Hsin, 李善新
Other Authors: 謝續平
Format: Others
Language:en_US
Published: 2014
Online Access:http://ndltd.ncl.edu.tw/handle/56309225282064318677
id ndltd-TW-102NCTU5394065
record_format oai_dc
spelling ndltd-TW-102NCTU53940652015-10-14T00:18:21Z http://ndltd.ncl.edu.tw/handle/56309225282064318677 Automated Adaptive Test for Android Apps on Diversified Touchscreen Devices 針對安卓應用程式跨硬體之軟體測試 Li, Shan-Hsin 李善新 碩士 國立交通大學 資訊科學與工程研究所 102 Android, which is compatible to various models, mainly takes user input from touchscreen, and even the screens are distinct among each other. Due to the screen diversity, to imitate user gestures for software testing becomes difficult and unfeasible to reuse a test script, which records fixed coordinates of touch events, among various devices. Test engineers need to write a specific test script for each kind of devices. Conventional approaches can only scale up/down the coordinate when the tested screen resolution is different; this approach is only feasible when the screens have the same aspect ratio. To address this problem, an adaptive test for Android is proposed, and it is based on a new gesture representation, the Visual-Oriented Gesture (VOG). The adaptive test imitates user interaction in the following order: looking screen, finding the GUI component, and doing action on it. VOG can dynamically adjust the coordinates of touch events, and therefore the test achieved the “Write-once-run-anywhere” (WORA) property; it can reduce the time cost of development. Over twenty apps from Google Play have been evaluated in this paper, and each app has been tested by around 4 kinds of gestures on 4 different screen resolution models. The percentage of successfully imitating is 84.4 from over 300 test cases. The result of this experiment is satisfiable. We show the proposed adaptive test can imitate most user gesture on apps across various screen resolutions and Android versions, so it is helpful to development on Android. 謝續平 2014 學位論文 ; thesis 38 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立交通大學 === 資訊科學與工程研究所 === 102 === Android, which is compatible to various models, mainly takes user input from touchscreen, and even the screens are distinct among each other. Due to the screen diversity, to imitate user gestures for software testing becomes difficult and unfeasible to reuse a test script, which records fixed coordinates of touch events, among various devices. Test engineers need to write a specific test script for each kind of devices. Conventional approaches can only scale up/down the coordinate when the tested screen resolution is different; this approach is only feasible when the screens have the same aspect ratio. To address this problem, an adaptive test for Android is proposed, and it is based on a new gesture representation, the Visual-Oriented Gesture (VOG). The adaptive test imitates user interaction in the following order: looking screen, finding the GUI component, and doing action on it. VOG can dynamically adjust the coordinates of touch events, and therefore the test achieved the “Write-once-run-anywhere” (WORA) property; it can reduce the time cost of development. Over twenty apps from Google Play have been evaluated in this paper, and each app has been tested by around 4 kinds of gestures on 4 different screen resolution models. The percentage of successfully imitating is 84.4 from over 300 test cases. The result of this experiment is satisfiable. We show the proposed adaptive test can imitate most user gesture on apps across various screen resolutions and Android versions, so it is helpful to development on Android.
author2 謝續平
author_facet 謝續平
Li, Shan-Hsin
李善新
author Li, Shan-Hsin
李善新
spellingShingle Li, Shan-Hsin
李善新
Automated Adaptive Test for Android Apps on Diversified Touchscreen Devices
author_sort Li, Shan-Hsin
title Automated Adaptive Test for Android Apps on Diversified Touchscreen Devices
title_short Automated Adaptive Test for Android Apps on Diversified Touchscreen Devices
title_full Automated Adaptive Test for Android Apps on Diversified Touchscreen Devices
title_fullStr Automated Adaptive Test for Android Apps on Diversified Touchscreen Devices
title_full_unstemmed Automated Adaptive Test for Android Apps on Diversified Touchscreen Devices
title_sort automated adaptive test for android apps on diversified touchscreen devices
publishDate 2014
url http://ndltd.ncl.edu.tw/handle/56309225282064318677
work_keys_str_mv AT lishanhsin automatedadaptivetestforandroidappsondiversifiedtouchscreendevices
AT lǐshànxīn automatedadaptivetestforandroidappsondiversifiedtouchscreendevices
AT lishanhsin zhēnduìānzhuōyīngyòngchéngshìkuàyìngtǐzhīruǎntǐcèshì
AT lǐshànxīn zhēnduìānzhuōyīngyòngchéngshìkuàyìngtǐzhīruǎntǐcèshì
_version_ 1718088695158931456