SECLAug 23, 2016

Using Semantic Similarity for Input Topic Identification in Crawling-based Web Application Testing

arXiv:1608.06549v11 citations
Originality Incremental advance
AI Analysis

This work addresses the inefficiency and lack of generalizability in rule-based input topic identification for web application testing, offering an automated solution that reduces manual effort.

The paper tackles the problem of manually configuring rules for identifying input field topics in web application testing by proposing a natural-language approach that uses semantic similarity with a labeled corpus. The approach achieved comparable performance to rule-based methods on 100 real-world forms and improved rule-based accuracy by up to 19% when integrated.

To automatically test web applications, crawling-based techniques are usually adopted to mine the behavior models, explore the state spaces or detect the violated invariants of the applications. However, in existing crawlers, rules for identifying the topics of input text fields, such as login ids, passwords, emails, dates and phone numbers, have to be manually configured. Moreover, the rules for one application are very often not suitable for another. In addition, when several rules conflict and match an input text field to more than one topics, it can be difficult to determine which rule suggests a better match. This paper presents a natural-language approach to automatically identify the topics of encountered input fields during crawling by semantically comparing their similarities with the input fields in labeled corpus. In our evaluation with 100 real-world forms, the proposed approach demonstrated comparable performance to the rule-based one. Our experiments also show that the accuracy of the rule-based approach can be improved by up to 19% when integrated with our approach.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes