Replaying Functional Test for testing a Web Application