Get timer (FR)

Perfecto Command

mobile:timer:info

Purpose

Retrieves the value of the timer specified by the timerId parameter. There is no need to stop the timer to use the Get timer function.

The Get timer command is only supported when using Perfecto's Native IDE automation testing.

Parameters

Name Type Possible Values Description
timerId String script | TimerA | TimerB | TimerC | other_name

Mandatory.

Unique timer identifier, that was used to start the timer.
Enter a timer identifier that was used in the Timer start function, or select 'Script' to get the time passed from the beginning of the script.

timerType String elapsed | device |
ux | system 

Mandatory.

The selected timer type.
Elapsed - Elapsed time (no segmentation)
Device - Device work time
UX - User experience time
System - System activity

units String seconds | milliseconds The time units.
Seconds (default)
Milliseconds

Return Value

timer value

Exceptions

None