def insert_testcase_data(self, testcase_run_payload):

        query = """INSERT INTO testcaseRunData
                   (guid, browser, state, execution_guid, env, start_time,
                    testcaseAddress, runtime, retryCount, message, stackTrace)
                          VALUES (
                              %(guid)s,
                              %(browser)s,
                              %(state)s,
                              %(execution_guid)s,
                              %(env)s,
                              %(start_time)s,
                              %(testcaseAddress)s,
                              %(runtime)s,
                              %(retryCount)s,
                              %(message)s,
                              %(stackTrace)s) """
        DatabaseManager(self.database_env).execute_query_and_close(
            query, testcase_run_payload.get_params())
inserts all data for the test case, returns the new row guid
dataset/ETHPy150Open mdmintz/SeleniumBase/seleniumbase/core/testcase_manager.py/TestcaseManager.insert_testcase_data