ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sikuli​Tools

A collection of tools for creation of SikuliX tests with SublimeText

Details

Installs

  • Total 30
  • Win 3
  • Mac 27
  • Linux 0
Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SikuliTools

The primary purpose for this collection of tools is to leave SikuliX IDE and write GUI tests in Sublime Text.

  • captures a selection from the screen, saves it to the currently active directory and inserts the filename at the cursor position.

Installation

With the Package Control plugin: The easiest way to install SikuliTools is through Package Control, which can be found at this site: http://wbond.net/sublime_packages/package_control

Once you install Package Control, restart Sublime Text and bring up the Command Palette (Command+Shift+P). Select “Package Control: Install Package”, wait while Package Control fetches the latest package list, then select SikuliTools when the list appears. The advantage of using this method is that Package Control will automatically keep SikuliTools up to date with the latest version.

Without Git: Download the latest source from GitHub <https://github.com/hendrikelsner/SikuliTools>_ and copy the whole directory into the Packages directory.

With Git: Clone the repository in your Sublime Text Packages directory, located somewhere in user's “Home” directory::

git clone https://github.com/hendrikelsner/SikuliTools.git

To access the “Package” directory use: Sublime Text -> Preferences -> Browse Packages…

Usage

Capture

  • Hit cmd+alt+c
  • type image name and hit ENTER (if you leave this blank, a timestamp is used as filename)
  • select a part of the screen

The selection is saved to an image file in the directory of the currently active tab.

TODO

  • Command to clean up a test folder (remove unused images, show missing)
  • A match overlay that highlights all matches on screen for a selected image pattern
  • Build script to run the currently open test
  • CheatSheet view (like https://packagecontrol.io/packages/Cheat%20Sheets)