Select Page
testing300
Robotil Logo

Robotil

Free Desktop Application Automation Testing Tool

Release Date: January 11, 2024

Please enter details to download

Robotil is a simple library to press/release keyboard keys, click coordinates, take screen-shot and invoke application on remote machine.

How to use

  • Download Robotil.jar
  • Start Robotil server on a remote machine.
    java -jar Robotil.jar (Default portNumber is 6666)
    java -jar Robotil.jar 5555
    
  • Reference Robotil jar in java project on a client machine
  • Create an object for Robotil class by mentioning remote IP and port
  • Now, it is ready to use
  • Example

    Robotil robotil=new Robotil("localhost", 5555); 
    robotil.pressAndReleaseKey(KeyEvent.VK_ENTER);
    

Methods

PressKey
To press a keyboard key

robotil.pressKey(KeyEvent.VK_A);

ReleaseKey
To release a keyboard key

robotil.releaseKey(KeyEvent.VK_A);

PressAndReleaseKey
To press and release a keyboard key.

robotil.pressAndReleaseKey(KeyEvent.VK_A);

MouseClick
To click X and Y coordinates

robotil.mouseClick(10,30,InputEvent.BUTTON1_MASK)

InvokeApplication
To invoke remote application

robotil.invokeApplication("notepad.exe");

PutFile
To send a file to a remote machine

robotil.putFile("C:sourceFile.txt","C:destFile.txt")

CaptureScreen
To capture screen-shot

robotil.captureScreen("C:imgsrobotiltest.png")

Contributors

Iva Dimitrova Trendafilova & Asiq Ahamed

Please enter details to download

Written By

Submit a Comment

Your email address will not be published. Required fields are marked *

Comments(0)

Talk to our Experts

Amazing clients who
trust us


poloatto
ABB
polaris
ooredo
stryker
mobility