def update_testcase_data(self, testcase_payload):

        query = """UPDATE testcaseRunData SET
                          runtime=%(runtime)s,
                          state=%(state)s,
                          retryCount=%(retryCount)s,
                          stackTrace=%(stackTrace)s,
                          message=%(message)s
                          WHERE guid=%(guid)s """
        DatabaseManager(self.database_env).execute_query_and_close(
            query, testcase_payload.get_params())
updates an existing testcase run in the database
dataset/ETHPy150Open mdmintz/SeleniumBase/seleniumbase/core/testcase_manager.py/TestcaseManager.update_testcase_data