execute and evaluate testcase and return results functionality