Proposing A Framework for Automatic Testing of Web-Based Applications and Evaluating the Results Using Quantitative Metrics