Form Filling based on Constraint Solving

Abstract : We describe a system for analyzing form-based websites to discover sequences of actions and values that result in a valid form submission. Rather than looking at the text or DOM structure of the form, our method is driven by solving constraints involving the underlying client-side JavaScript code. In order to deal with the complexity of client-side code, we adapt a method from program analysis and testing, concolic testing, which mixes concrete code execution, symbolic code tracing, and constraint solving to find values that lead to new code paths. While concolic testing is commonly used for detecting bugs in stand-alone code with developer support, we show how it can be applied to the very different problem of filling Web forms. We evaluate our system on a benchmark of both real and synthetic Web forms.
Document type :
Conference papers
Complete list of metadatas
Contributor : Pierre Senellart <>
Submitted on : Monday, July 30, 2018 - 2:08:59 PM
Last modification on : Wednesday, June 19, 2019 - 3:10:02 PM
Long-term archiving on : Wednesday, October 31, 2018 - 1:03:24 PM


Files produced by the author(s)





Ben Spencer, Michael Benedikt, Pierre Senellart. Form Filling based on Constraint Solving. 18th International Conference on Web Engineering (ICWE 2018), Jun 2018, Cáceres, Spain. ⟨10.1007/978-3-319-91662-0_20⟩. ⟨hal-01851555⟩



Record views


Files downloads