Automation testing for XUL Runner applications and web applications for HMM