Timer Methods
- Continue Method - Continue counting
- Reset Method - Reset timer
- Start Method - Starts Timer
- Stop Method - Stops Timer
Object Sync Timeout
Setting("DefaultTimeout")=5000
msgbox "new timeout "& Setting("ObjectSyncTimeOut")
Example :
Setting("DefaultTimeout")=5000
MercuryTimers("T1").Start
If oObj.exist then Reporter.ReportEvent micPass,"title","Info"
MercuryTimers("T1").Stop
print MercuryTimers("T1").ElapsedTime
No comments:
Post a Comment