Get timer (FR)

Perfecto Command

mobile:timer:info

Purpose

Retrieves the value of the timer specified by the timerId parameter. When working with Scriptless Mobile or using the API, the value is retrieved into a defined variable. There is no need to stop the timer to use the Get timer command.

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