A test case generation approach for mobile APPS based on context and GUI events

The increase of mobile devices with rich innovative feature has become an enabler for developing mobile applications (mobile apps) that offer users an advance and extremely-localized context-aware content. Nowadays mobile apps are developed to address more critical areas of people’s daily computing...

Full description

Saved in:
Bibliographic Details
Main Author: Usman, Asmau
Format: Thesis
Language:English
English
English
Published: 2018
Subjects:
Online Access:http://eprints.uthm.edu.my/274/1/24p%20ASMAU%20USMAN.pdf
http://eprints.uthm.edu.my/274/2/ASMAU%20USMAN%20COPYRIGHT%20DECLARATION.pdf
http://eprints.uthm.edu.my/274/3/ASMAU%20USMAN%20WATERMARK.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
id my-uthm-ep.274
record_format uketd_dc
spelling my-uthm-ep.2742021-07-21T02:09:16Z A test case generation approach for mobile APPS based on context and GUI events 2018-08 Usman, Asmau QA76 Computer software The increase of mobile devices with rich innovative feature has become an enabler for developing mobile applications (mobile apps) that offer users an advance and extremely-localized context-aware content. Nowadays mobile apps are developed to address more critical areas of people’s daily computing needs, which bring concern on the applications’ quality. In order to build a high quality and more reliable applications, there is a need for effective testing techniques to test the apps. The most recent testing technique focuses on graphical user interface (GUI) events with little attention to context events. This makes it difficult to identify other defects in the changes that can be inclined by context in which an application runs. The major challenge in testing mobile apps that react to context events is how to identify the events from an application during testing. This study proposes an approach (named TEGDroid) for testing mobile apps considering the two sets of events: GUI and context events. This approach comprises five steps which are; extraction of resources from APK file, static analysis of the extracted app’s byte code to identify GUI events, analysis of mobile apps’ permission to identify different scenarios of context events, generation of test case based on the GUI and context events and validation of the test cases using code coverage and mutation testing. Experiment was performed on real world open source mobile apps to evaluate TEGDroid. Results from the experimental evaluation indicates that the approach is effective in identifying context events and had 61%-91% coverage across the seven (7) selected applications. Results from the mutation analysis shows that 100% of the mutants were killed. This indicates that TEGDroid have the capability to detect faults in mobile apps. 2018-08 Thesis http://eprints.uthm.edu.my/274/ http://eprints.uthm.edu.my/274/1/24p%20ASMAU%20USMAN.pdf text en public http://eprints.uthm.edu.my/274/2/ASMAU%20USMAN%20COPYRIGHT%20DECLARATION.pdf text en staffonly http://eprints.uthm.edu.my/274/3/ASMAU%20USMAN%20WATERMARK.pdf text en validuser mphil masters Universiti Tun Hussein Onn Malaysia Faculty of Computer Science and Information Technology
institution Universiti Tun Hussein Onn Malaysia
collection UTHM Institutional Repository
language English
English
English
topic QA76 Computer software
spellingShingle QA76 Computer software
Usman, Asmau
A test case generation approach for mobile APPS based on context and GUI events
description The increase of mobile devices with rich innovative feature has become an enabler for developing mobile applications (mobile apps) that offer users an advance and extremely-localized context-aware content. Nowadays mobile apps are developed to address more critical areas of people’s daily computing needs, which bring concern on the applications’ quality. In order to build a high quality and more reliable applications, there is a need for effective testing techniques to test the apps. The most recent testing technique focuses on graphical user interface (GUI) events with little attention to context events. This makes it difficult to identify other defects in the changes that can be inclined by context in which an application runs. The major challenge in testing mobile apps that react to context events is how to identify the events from an application during testing. This study proposes an approach (named TEGDroid) for testing mobile apps considering the two sets of events: GUI and context events. This approach comprises five steps which are; extraction of resources from APK file, static analysis of the extracted app’s byte code to identify GUI events, analysis of mobile apps’ permission to identify different scenarios of context events, generation of test case based on the GUI and context events and validation of the test cases using code coverage and mutation testing. Experiment was performed on real world open source mobile apps to evaluate TEGDroid. Results from the experimental evaluation indicates that the approach is effective in identifying context events and had 61%-91% coverage across the seven (7) selected applications. Results from the mutation analysis shows that 100% of the mutants were killed. This indicates that TEGDroid have the capability to detect faults in mobile apps.
format Thesis
qualification_name Master of Philosophy (M.Phil.)
qualification_level Master's degree
author Usman, Asmau
author_facet Usman, Asmau
author_sort Usman, Asmau
title A test case generation approach for mobile APPS based on context and GUI events
title_short A test case generation approach for mobile APPS based on context and GUI events
title_full A test case generation approach for mobile APPS based on context and GUI events
title_fullStr A test case generation approach for mobile APPS based on context and GUI events
title_full_unstemmed A test case generation approach for mobile APPS based on context and GUI events
title_sort test case generation approach for mobile apps based on context and gui events
granting_institution Universiti Tun Hussein Onn Malaysia
granting_department Faculty of Computer Science and Information Technology
publishDate 2018
url http://eprints.uthm.edu.my/274/1/24p%20ASMAU%20USMAN.pdf
http://eprints.uthm.edu.my/274/2/ASMAU%20USMAN%20COPYRIGHT%20DECLARATION.pdf
http://eprints.uthm.edu.my/274/3/ASMAU%20USMAN%20WATERMARK.pdf
_version_ 1747830570506780672