Show simple item record

dc.contributor.advisorLin, Xiaodong
dc.contributor.authorGao, Yatian
dc.date.accessioned2017-06-09T18:19:13Z
dc.date.accessioned2022-03-29T17:34:01Z
dc.date.available2017-06-09T18:19:13Z
dc.date.available2022-03-29T17:34:01Z
dc.date.issued2017-04-01
dc.identifier.urihttps://hdl.handle.net/10155/763
dc.description.abstractThe rising popularity of Android and the component-based structure of its apps have motivated the need for automated model-based testing techniques on Android plat- form. Prior researches have primarily focused on the GUI-based model of Android apps. GUI-based model only includes Activity targeting graphical user interfaces. It neglects other components such as Service and Broadcast Receiver in the Android Development Framework. Although the GUI-based model testing has achieved a good testing result targeting the graphical user interface, its effectiveness has been decreasing as Android applications become more complex in both functional behaviors and component-based structure. This phenomenon challenges the feasibility of currently existing model-based testing on Android platform. To address the challenges mentioned above, we propose a component-based approach of automated model generation for model-based testing on Android platform in this thesis. First, we extend the state definition in the model. Activity, Service and Broadcast Receiver are abstracted into the component-based model as states. Newly introduced states can depict the behaviors of a given app in a larger scope for better descriptive modeling and input generation. Second, we extend transition definition, and also propose a static mapping transition builder for transition construction across different kinds of components. Then the event sequence generator & cluster is proposed to generate proper test sequences for testing. The event cluster assists the input generation of the component-based model testing. Also, we present CamDroid, a tool implementing the proposed approach for An- droid apps testing. Lastly, our experiments have corroborated CamDroid's ability to build a model connecting components including Service, Activity and Broadcast Receiver. It can overcome the new challenges of Android apps in model-based testing. As a result, component-based model can achieve better performance in real model- based testing in terms of code coverage, comparing to the traditional GUI-based model testing.en
dc.description.sponsorshipUniversity of Ontario Institute of Technologyen
dc.language.isoenen
dc.subjectAndroid applicationen
dc.subjectModel-based testingen
dc.subjectSoftware testingen
dc.titleComponent-based modeling for Android application testingen
dc.typeThesisen
dc.degree.levelMaster of Science (MSc)en
dc.degree.disciplineComputer Scienceen


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record