University of Illinois at Chicago
Browse
CARDONE-THESIS-2019.pdf (2.36 MB)

Machine Learning Methods for Adaptive Test Case Generation for Android Activities

Download (2.36 MB)
thesis
posted on 2019-12-01, 00:00 authored by Arturo Cardone
In the following Thesis work, we'll illustrate both the design and implementation of a testing framework for Android applications, which is able to adapt its execution according to the type of app under examination. The system is very modular, and as such can be divided into four phases. First, a logic model of the whole user interface is automatically built by traversing the screens' layout, while also performing a UI stress test. Then, thanks to machine learning algorithms, we are able to classify the entire application into a category, and the same is done with the app's activities. In this way, we are able to gain some insights about the expected structure and behavior of each screen, allowing us to perform the last phase, which is the execution of test scripts written in a specifically-tailored custom language. The user has to write a suite of test cases, where each one is fired upon encountering a specific category of activity. The suite consists of a succession of adaptive commands which are able to interpret the current screen layout to perform an action with a given semantic value. In this way, the user has just to write a single test script that can be recycled on many other instances, without needing to rewrite it to conform to new or modified UI layouts.

History

Advisor

Buy, Ugo

Chair

Buy, Ugo

Department

Computer Science

Degree Grantor

University of Illinois at Chicago

Degree Level

  • Masters

Degree name

MS, Master of Science

Committee Member

Zheleva, Elena Morisio, Maurizio

Submitted date

December 2019

Thesis type

application/pdf

Language

  • en

Issue date

2019-11-01

Usage metrics

    Categories

    No categories selected

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC