Fragment-Based Test Generation For Web Apps

10/26/2021
by   Rahulkrishna Yandrapally, et al.
0

Automated model-based test generation presents a viable alternative to the costly manual test creation currently employed for regression testing of web apps. However, existing model inference techniques rely on threshold-based whole-page comparison to establish state equivalence, which cannot reliably identify near-duplicate web pages in modern web apps. Consequently, existing techniques produce inadequate models for dynamic web apps, and fragile test oracles, rendering the generated regression test suites ineffective. We propose a model-based test generation technique, FRAGGEN, that eliminates the need for thresholds, by employing a novel state abstraction based on page fragmentation to establish state equivalence. FRAGGEN also uses fine-grained page fragment analysis to diversify state exploration and generate reliable test oracles. Our evaluation shows that FRAGGEN improves the precision and recall of the inferred models by 70 suites with test actions that have nearly 100 of the web app even if the execution environment is varied. The test oracles generated by FRAGGEN can detect 98.7 being highly tolerant to web app dynamism, making them suitable for regression testing.

READ FULL TEXT

page 7

page 8

page 10

page 12

research
06/12/2023

Neural Embeddings for Web Testing

Web test automation techniques employ web crawlers to automatically prod...
research
08/30/2021

Web Application Testing: Using Tree Kernels to Detect Near-duplicate States in Automated Model Inference

In the context of End-to-End testing of web applications, automated expl...
research
11/23/2021

Style-Guided Web Application Exploration

A wide range of analysis and testing techniques targeting modern web app...
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
06/18/2019

Generalizing Critical Path Analysis on Mobile Traffic

Critical Path Analysis (CPA) studies the delivery of webpages to identif...
research
08/23/2023

DarkDiff: Explainable web page similarity of TOR onion sites

In large-scale data analysis, near-duplicates are often a problem. For e...
research
08/28/2019

HTMLPhish: Enabling Accurate Phishing Web Page Detection by Applying Deep Learning Techniques on HTML Analysis

Recently, the development and implementation of phishing attacks require...

Please sign up or login with your details

Forgot password? Click here to reset