Links

Robot Operations Addon

Documentation for Robot operations addon
This addon allows you to press keys, move the cursor, and perform clicks using Windows, Linux, and macOS* operating systems keyboard and mouse.
For macOS* add TestProject Agent.app to Accessibility -> Privacy

See the example below:

1) Perform a login flow on example.testproject.io.
2) Save the current document as a PDF file.
3) Take a full-page screenshot using Chrome dev tools.
4) Navigate to an upload test and upload a file.
5) Automate HTML5 drag and drop on W3C.
6) Navigate to Angular and perform drag and drop in all directions.
Automate any interface using Robot

Available Actions

  • Click at coordinates
  • Drag and drop
  • Move mouse to coordinates
  • Press Control+Key
  • Press Enter
  • Press Escape
  • Press multiple key
  • Press Tab
  • Print current document
  • Take full page screenshot
  • Type text
  • Upload a file
Basic actions:
Press Enter
Press Escape
Press Tab
Press Enter
Press Escape
Press Tab
These actions take in the following input parameters:
Click at coordinates
Move mouse to coordinates
Drag and drop
Accepts X and Y coordinates in correlation to screen resolution, for example 1080x1920px screen, accepts 0<=X<=1920, 0<=Y<=1080).
Accept Right=true/false, if set to true action will perform right (context) click instead.
Accepts X and Y coordinates in correlation to screen resolution for example 1080x1920px screen, accepts 0<=X<=1920, 0<=Y<=1080).
Accepts X and Y coordinates in correlation to screen resolution, for example 1080x1920px screen, accepts 0<=X<=1920, 0<=Y<=1080).
Accepts destination X and Y coordinates.
Accepts timeout between pixels movement in MS default=1ms.
The screen starting point is the top left corner (0,0) the bottom right corner is (1920,1080)
Press multiple keys
Press Control+Key
Type text
Accepts up to 3 lowercase characters, letters, or any special key from the following list:
Special keys
SHIFT
CTRL
CONTROL
ALT
ESCAPE
ESC
COMMAND
WINDOWS
START
WINKEY
BACKSPACE
DEL
DELETE
HOME
END
ENTER
PAGEUP
PAGEDOWN
LEFT
RIGHT
UP
DOWN
Accepts 1 lowercase character, letter, or a number.
Accepts 0-9, a-z, A-Z, _ , ,+,: and other lowercase symbols for example []`-=/.,;
Print document
Upload file
Take full page screenshot (Chromium only)
Accepts path to print the document in for example C:\temp\myFile.pdf
Accepts timeout between operations, default=1 second.
Accepts path to upload a file from local hard disk for example C:\temp\myFile.pdf
Takes full page screenshot using multiple key presses on Chromium browsers.
Accepts timeout between operations, default=1 second.