{'fraction_non_alphanumeric': 0.017738359201773836, 'fraction_numerical': 0.0, 'mean_word_length': 5.543478260869565, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Image-based Approaches for Automating GUI Testing of Interactive Web-based Applications

Modern Graphical User Interface testing frameworks automate the testing of web-based interfaces to ensure the absence of functional and visual regressions. They employ common strategies to tackle different testing use-cases. This paper presents an analysis of these strategies, highlighting that it is not possible to test some kinds of interactive interfaces exhaustively. We propose a novel image-based framework that combines current techniques with new ones. These leverage Machine Learning and Computer Vision algorithms to analyze screenshots of the interface and prove its correctness. Results suggest that it suffices to automate the verification of interactive interfaces that were not fully testable before. Automated tests, developed as a benchmark, present almost no false-positives and high accuracy.