Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Avgust: Automating Usage-Based Test Generation from Videos of App Executions (2209.02577v4)

Published 6 Sep 2022 in cs.SE and cs.HC

Abstract: Writing and maintaining UI tests for mobile apps is a time-consuming and tedious task. While decades of research have produced automated approaches for UI test generation, these approaches typically focus on testing for crashes or maximizing code coverage. By contrast, recent research has shown that developers prefer usage-based tests, which center around specific uses of app features, to help support activities such as regression testing. Very few existing techniques support the generation of such tests, as doing so requires automating the difficult task of understanding the semantics of UI screens and user inputs. In this paper, we introduce Avgust, which automates key steps of generating usage-based tests. Avgust uses neural models for image understanding to process video recordings of app uses to synthesize an app-agnostic state-machine encoding of those uses. Then, Avgust uses this encoding to synthesize test cases for a new target app. We evaluate Avgust on 374 videos of common uses of 18 popular apps and show that 69% of the tests Avgust generates successfully execute the desired usage, and that Avgust's classifiers outperform the state of the art.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (9)
  1. Yixue Zhao (12 papers)
  2. Saghar Talebipour (2 papers)
  3. Kesina Baral (2 papers)
  4. Hyojae Park (5 papers)
  5. Leon Yee (1 paper)
  6. Safwat Ali Khan (6 papers)
  7. Yuriy Brun (19 papers)
  8. Nenad Medvidovic (13 papers)
  9. Kevin Moran (66 papers)
Citations (11)
Youtube Logo Streamline Icon: https://streamlinehq.com