51Testing软件测试论坛

标题: 请教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), ""

请教difftime返回的是seconds,还是millseconds?
作者: ilovejolly    时间: 2006-7-27 11:31
millseconds




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2