• Cite Icon19
  • https://doi.org/10.1145/3301293.3302363Copy DOI Icon

Paladin

  • Feb 22, 2019
  • Yun Ma +4 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Automated-test-generation tools generate test cases to enable dynamic analysis of Android apps, such as functional testing. These tools build a GUI model to describe the app states during the app execution, and generate a script that performs actions on UI widgets to form a test case. However, when the test cases are re-executed, the apps under analysis often do not behave consistently. The major reasons for such limited reproducibility are due to (1) backend-service dependencies that cause non-determinism in app behaviors and (2) the severe fragmentation of Android platform (i.e., the alarming number of different Android OS versions in vendor-customized devices). To address these challenges, we design and implement Paladin, a novel system that generates reproducible test cases for Android apps. The key insight of Paladin is to provide a GUI model that leverages the structure of the GUI view tree to identify equivalent app states, since the structure can tolerate the changes on the UI contents for an app behavior performed in different test executions. Based on the model, Paladin can search the view tree to locate the desired UI widgets to trigger events and drive the app exploration to reach the desired app states, making the test cases reproducible. Evaluation results on real apps show that Paladin could reach a much higher reproduction ratio than the state-of-the-art tools when the generated test cases are re-executed across different device configurations. In addition, benefiting from the reproducible capability, Paladin is able to cover more app behaviors compared with the existing tools.

Similar Papers
  • Research Article

Machine Learning in QA: A Vision for Predictive and Adaptive Software Testing

  • Jul 16, 2021
  • INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND MANAGEMENT
  • Santosh Kumar Jawalkar
  • Conference Article
  • Citations47

RTCM: a natural language based, automated, and practical test case generation framework

  • Jul 13, 2015
  • Tao Yue +2
  • Conference Article
  • Citations16

Ontology Based Test Case Generation for Black Box Testing

  • Mar 02, 2019
  • Sami Ul Haq +1
  • Conference Article
  • Citations3

Android Unit Test Case Generation Based on the Strategy of Multi-Dimensional Coverage

  • Nov 07, 2021
  • Jie Cao +2
  • Conference Article
  • Citations5

Approach to Generating Functional Test Cases from BPMN Process Diagrams

  • Aug 01, 2022
  • Pauline Von Olberg +1
  • Dissertation

Towards DO-178C compatible tool design

  • Feb 01, 2016
  • Yijia Xu
  • Research Article
  • Citations6

On the order of test goals in specification-based testing

  • Feb 07, 2009
  • The Journal of Logic and Algebraic Programming
  • Gordon Fraser +2
  • Research Article
  • Citations5

Components integration-effect graph: a black box testing and test case generation technique for component-based software

  • Mar 25, 2016
  • International Journal of System Assurance Engineering and Management
  • Umesh Kumar Tiwari +1
  • Conference Article
  • Citations1

Automated Test Case Generation from Activity Diagram using Depth-First Search

  • Aug 09, 2023
  • Ignasius Teguh Raharjo Rubiyo +2
  • Conference Article
  • Citations4

A Study on Transaction Specification based Software Testing for Internet of Things

  • Mar 01, 2018
  • Mani Padmanabhan
  • Research Article
  • Citations1

Automated Test Case Generation for Effective Spectrum-based Fault Localization

  • Jun 01, 2020
  • Journal of Physics: Conference Series
  • Bo Yang +2
  • Conference Article
  • Citations19

Automatic test case selection and generation for regression testing of composite service based on extensible BPEL flow graph

  • Sep 01, 2010
  • Bixin Li +3
  • Conference Article
  • Citations3

The Use of Ontology in Case Based Reasoning for Reusable Test Case Generation

  • Jan 01, 2015
  • R Li +1
  • Conference Article
  • Citations15

Graph-aided directed testing of Android applications for checking runtime privacy behaviours

  • May 14, 2016
  • Joseph Chan Joo Keng +3
  • Conference Article
  • Citations9

Improving code coverage in android apps testing by exploiting patterns and automatic test case generation

  • Sep 16, 2014
  • Domenico Amalfitano +7
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.