RQ1 (Code Coverage) How is the exploration capability of WebExplor in terms of code coverage?
RQ2 (Failure Detection) How effective is WebExplor for detecting failures of web applications?
RQ3 (DFA Guidance) How effective is DFA in guiding the exploration during testing?
RQ4 (Scalability) How effective is WebExplor in testing real-world web applications?
[Model-Based] DIG leverages a diversity-based test case generator for web testing.
[Model-Based] SUBWEB considers the uncovered branches and using a search-based strategy to achieve web testing.
[Model-Free] Crawljax discovers and clusterspages on the fly and adopts a crawlingbased random test case generator for web testing.
[Model-Free] Random randomly selects one of the available actions to explore web states.
[Model-Free] WebExplor (no DFA) is a variant of WebExplor without the DFA guidance.
In contrast to model-based approaches, WebExplor achieves better code coverage and robustness in most cases with no navigation models or prior knowledge.
WebExplor achieves the best performance in failure detection, while requiring no human knowledge or fine-tuned navigation models, revealing its potentials across different subjects.
WebExplor performs good scalability on all 6 benchmark projects.
Overall, WebExplor discovered more failures (in bold) than failures than other baselinse. Note that, newly discovered failures are mainly server request errors (e.g., CROS or AbortError), which are spotted via illegal operation sequences.
Failures list (by WebExplor):
Conclusion: Intuitively, the code related to each operation can be easily covered by independent execution. However, some failures are only triggered by illegal operation orders, indicating that it seems ineffective to detect failures by simply improving code coverage.
In WebExplor, DFA complements curiosity-driven RL by providing high-level guidance for effective exploration and high efficiency.
WebExplor achieves a better performance regarding failure detection rate, code coverage and stability than the one without DFA.