vivienne1997 发表于 2006-7-26 20:10:05

请教Robot 关于Timer()问题

写了下面一段代码:
'Capture the start time
   startime=timer()   
   StartTimer "AcceptSTC"
   SetThinkAvg 9252
   'Capture the successful message
   Result = HTMLTableVP (CompareProperties, "Index=12", "VP=AcceptSTC;Wait=2,30")
   'Capture the end time after deleting successfully
   StopTimer "AcceptSTC"
   stoptime=timer()
   'Log the db operation time
   difftime=stoptime - startime
   SQALogMessage sqaPass, "Time taken into Saving of Ship-To Code" + str(difftime), ""

请教difftime返回的是seconds,还是millseconds?

ilovejolly 发表于 2006-7-27 11:31:41

millseconds
页: [1]
查看完整版本: 请教Robot 关于Timer()问题