The University of Sheffield
Department of Computer Science

Jiahui Zhao MSc Dissertation 2015/16

Automated Generate Behavioral Test Based on Web Crawling

Supervised by P.McMinn

Abstract

With the maturing Internet technology, Web users have higher requirement to the websites, so that the behavioral testing of websites seems particularly important. Behavioral testing, also known as functional testing, is based on product characteristics, operation description and user programs, aiming to test the product’s features and operational. However, most of the current tests’ code are manually typed, and generating these tests can be a time-consuming and tedious process. Based on website crawling technology, the aim of this dissertation project is to generate behavioral tests automatically or semi-automatically through observing the behavioral of websites while being used. The final result of this project implements semi-automatically generate web behavioral test, and the generated test code can be successfully run with Cucumber.