Applitools
Docs
Open Primary Menu
Close Primary Menu
Overview
Concepts
SDK
Test manager
Integrations
Admin
Open search panel
Get Started
None
Filter:
Close Search
You are here:
None
Filter:
getDuration method
Class:
TestResults
Platform:
Images
Language:
Java
SDK:
Latest
other languages
Returns the amount of time the test ran.
Syntax
int value = result.getDuration();
Parameters
This method does not take any parameters.
Return value
Type:
int
The number of seconds the test ran for.