def translate(self):
if not self.check():<EOL><INDENT>return <EOL><DEDENT>for idx in range(len(self.testcases)):<EOL><INDENT>testing = self.testcases[idx]<EOL>case_id = testing.get("<STR_LIT>")<EOL>case_name = FileSystemUtils.get_legal_filename("<STR_LIT>" %(case_id,p_compat.str(testing[self.__case_title_field])))<EOL>execute_actionss = []<EOL>for field in self.__executer_seq_fields:<EOL><INDENT>steps_info = testing.get(field)                                <EOL>for execute_function in steps_info:<EOL><INDENT>if not execute_function:<EOL><INDENT>continue<EOL><DEDENT>execute_actionss.append(execute_function)                <EOL><DEDENT><DEDENT>yield (case_name, execute_actionss, idx)<EOL><DEDENT>
usage:
            m = YamlCaseLoader(r"D:\auto\buffer\test.yaml")
            for i in m.translate():print(i)
        :return iterator (case_name, execute_function)

        @note:  this method is useless