def write_result(self, row, value): col = int(data_config.get_result()) write_row_col_value = '{}:{}:{}'.format(row, col, value) self.log.info(self.mylog.out_varname(write_row_col_value)) self.opera_excle.write_value(row, col, value) # # #保存 # self.opera_excle.save_workbook('DataCase_ALL_result.xlsx') self.opera_excle.save_workbook()
def get_result(self, row): col=int(data_config.get_result()) result=self.opera_excle.get_cell_value(row,col) return result
def write_result(self, row, value): col=int(data_config.get_result()) # result=self.opera_excle.write_value(row,col,value) self.opera_excle.write_value(row, col, value)
def get_result(self, row): col = int(data_config.get_result()) result = self.opera_excle.get_cell_value(row, col) self.log.info(self.mylog.out_varname(result)) return result