Display test result in window, not with alerts