Timer stop (FR)

Perfecto Command

mobile:timer:stop

Purpose

Stops the timer with the specified timer ID. There is no need to stop the timer to use the Get timer function.

Parameters

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

Mandatory.

Unique timer identifier, that was used to start the timer.
Enter an identifier or use one of the listed identifiers.

Return Value

None

Exceptions

None

Examples

Copy

Java sample

Map<String, Object> params = new HashMap<>();
params.put("timerId", "myTime");
driver.executeScript("mobile:timer:stop", params)
Copy

C# sample

Dictionary<String, Object> pars = new Dictionary<String, Object>();
pars.Add("timerId", "TimerB");
driver.ExecuteScript("mobile:timer:stop", pars);