Methodology for Error Analysis and Localization in Web Application Testing