Keeps the device awake (Stop from falling asleep) without changing any configuration
-
Used the mouse movement feature to keep the device active to keep your automated tests running
-
No configuration needed on the system or device
-
Customize the timeout of the utility, stops after the configured timeout automatically
Below configurations can be updated based on your needs.
Property | Description |
---|---|
timeoutInSeconds |
utility automatically stops after these many seconds. Default time is 3600 seconds (1 hour) |
<dependency>
<groupId>in.testonics.omni</groupId>
<artifactId>keepalive</artifactId>
<version>1.0.0</version>
</dependency>
compile 'in.testonics.omni:keepalive:1.0.0'
//Import the utility
import static in.testonics.omni.models.KeepAlive.keepAliveByMouseMove;
public class KeepAliveTest {
//Optional Parameter: timeoutInSeconds
//if not provided, utility will stop after 1 hour
keepAliveByMouseMove(int timeoutInSeconds);
}
This project is Apache License 2.0 - see the LICENSE file for details
Can be found in RELEASE_NOTES.
Please, follow Code of Conduct page.