Framework for testing web application