DDDriverTimerCommands::ResetTimer
Reset a "stopped" timer for reuse.
Returns internal status values to a reset state. This allows the timer to be used again with
a new start time when StartTimer is called with the same name as this timer. It should be
considered an error to attempt to reset a timer that is active (not stopped).
DDDriverTimerCommands::StartTimer
Will start a unique timer.
Fields: [ ]=
Optional with Default Value
-
timerName
timerName (should be unique)
- [ verifyValue = ]
verifyValue will be used to verify the timer was less then then given value. If the parameter isn't given then no check will occur.
Examples:
[How To Read This Reference]
DDDriverTimerCommands::StopTimer
Will end a unique timer and perform a verify test if a value was supplied at start time.
DDDriverTimerCommands::StoreTimerInfo
Well store the timer information in the given variable.
Information stored:
-
.elapsed - Amount of seconds that has passed.
-
.startTime - Time that the timer was started.
-
.endTime - Time that the timer was stopped.
-
.failures - Number of failures that happened on the timer (based on verify commands).
Fields: [ ]=
Optional with Default Value
-
timerName
timerName (should be unique)
-
variable
variable to store time information in.
Examples:
[How To Read This Reference]
DDDriverTimerCommands::StoreTimerInfoFile
Well store the timer information in the given file, in csv format. Will use absolute path if given otherwise uses SAFS Project Directory.
Information Stored:Name,Start,Stop,Duration,Timeout,Pass?
-
Name - Name of timer
-
Start - Time of start
-
Stop - Time of stop
-
Duration - total elapsed time.
-
Timeout -
-
Pass? - if the timer passed any verfiy commands.
Variable TimerStorageVariables can list additional variables to be stored in the file (comma delimited).
Fields: [ ]=
Optional with Default Value
-
timerName
timerName (should be unique)
-
fileLoc
fileLoc is the location of the file to write (including filename). If an absolute path is given then it is used other wise the default path is SAFS Project Directory. If the file exists it is just appended to.
Examples:
[How To Read This Reference]
DDDriverTimerCommands::VerifyElapsedTimeInRange
Well verify that a timer was in the range of the given values.
Fields: [ ]=
Optional with Default Value
-
timerName
timerName (should be unique)
-
verifyValue1
verifyValue1 will be used as the lower bounds of the check.
-
verifyValue2
verifyValue2 will be used as the higher bounds of the check.
Examples:
[How To Read This Reference]
DDDriverTimerCommands::VerifyElapsedTimeIsLess
Well verify that a timer was less then the given value.
Fields: [ ]=
Optional with Default Value
-
timerName
timerName (should be unique)
-
verifyValue
verifyValue will be used to as the check value.
Examples:
[How To Read This Reference]
DDDriverTimerCommands::VerifyElapsedTimeIsMore
Well verify that a timer was greater then the given value.
Fields: [ ]=
Optional with Default Value
-
timerName
timerName (should be unique)
-
verifyValue
verifyValue will be used to as the check value.
Examples:
[How To Read This Reference]
DDDriverTimerCommands::VerifyTimer
Well verify that a timer was less then the given value.
Fields: [ ]=
Optional with Default Value
-
timerName
timerName (should be unique)
- [ verifyValue = ]
verifyValue will be used to as the check value. If nothing is given then the value given during StartTimer will be use, if nothing was given then the value -1 is used.
Examples:
[How To Read This Reference]