Example #1
0
 def run_and_analyse_multiple_robottests(self, list_of_testfilename):
     list_of_output_xml_files = []
     for testfilename in list_of_testfilename:
         outputfile = tempfile.mkstemp(suffix='.xml')[1]
         robot.run(testfilename,
                   report='NONE',
                   log='NONE',
                   output=outputfile)
         list_of_output_xml_files.append(outputfile)
     keywords = robot_profiler.analyse_output_xml(list_of_output_xml_files)
     return keywords
Example #2
0
 def run_and_analyse_robottest(self, testfilename):
     outputfile = tempfile.mkstemp(suffix='.xml')[1]
     robot.run(testfilename, report='NONE', log='NONE', output=outputfile)
     keywords = robot_profiler.analyse_output_xml([outputfile])
     return keywords