标题: 请教Robot 关于Timer()问题 [打印本页] 作者: vivienne1997 时间: 2006-7-26 20:10 标题: 请教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), ""