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 14
  • Win 3
  • OS X 11
  • Linux 0
Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10
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
OS X 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)