Style-Guided Web Application Exploration

11/23/2021
by   Davood Mazinanian, et al.
0

A wide range of analysis and testing techniques targeting modern web apps rely on the automated exploration of their state space by firing events that mimic user interactions. However, finding out which elements are actionable in web apps is not a trivial task. To improve the efficacy of exploring the event space of web apps, we propose a browser-independent, instrumentation-free approach based on structural and visual stylistic cues. Our approach, implemented in a tool called StyleX, employs machine learning models, trained on 700,000 web elements from 1,000 real-world websites, to predict actionable elements on a webpage a priori. In addition, our approach uses stylistic cues for ranking these actionable elements while exploring the app. Our actionable predictor models achieve 90.14% precision and 87.76% recall when considering the click event listener, and on average, 75.42% precision and 77.76% recall when considering the five most-frequent event types. Our evaluations show that StyleX can improve the JavaScript code coverage achieved by a general-purpose crawler by up to 23%.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/26/2021

Fragment-Based Test Generation For Web Apps

Automated model-based test generation presents a viable alternative to t...
research
02/12/2021

Speculating Ineffective UI Exploration via Trace Analysis

With the prosperity of mobile apps, quality assurance of mobile apps bec...
research
09/04/2023

Hawkeye: Change-targeted Testing for Android Apps based on Deep Reinforcement Learning

Android Apps are frequently updated to keep up with changing user, hardw...
research
06/12/2023

Neural Embeddings for Web Testing

Web test automation techniques employ web crawlers to automatically prod...
research
08/19/2022

Universally Adaptive Cross-Platform Reinforcement Learning Testing via GUI Image Understanding

With the rapid development of the Internet, more and more applications (...
research
10/09/2020

Nifty Web Apps: Build a Web App for Any Text-Based Programming Assignment

While many students now interact with web apps across a variety of smart...
research
01/10/2023

Robust web element identification for evolving applications by considering visual overlaps

Fragile (i.e., non-robust) test execution is a common challenge for auto...

Please sign up or login with your details

Forgot password? Click here to reset