Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.85 KB

File metadata and controls

56 lines (42 loc) · 1.85 KB

Keep Alive

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

Configuration

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)

Usage

Maven

<dependency>
    <groupId>in.testonics.omni</groupId>
    <artifactId>keepalive</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle

compile 'in.testonics.omni:keepalive:1.0.0'

Keep your device awake (Strops from Sleeping) programmatically

        //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);
        }

License

This project is Apache License 2.0 - see the LICENSE file for details

Release Notes

Can be found in RELEASE_NOTES.

Code of Conduct

Please, follow Code of Conduct page.

Also if you're interesting - see my other repositories

  • Visual - Textual and Visual Comparison Of Images
  • ACE - Compares 2 given files. Supported formats are PDF, XLS(X), CSV, JSON, TXT