예제 #1
0
 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()
예제 #2
0
 def get_result(self, row):
     col=int(data_config.get_result())
     result=self.opera_excle.get_cell_value(row,col)
     return result
예제 #3
0
 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)
예제 #4
0
 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