Skip to content

testonics/keepalive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Keeps the device awake without changing any configuration

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published