This project is devoted to using of Ruby based DSLs for GUI testing with SikuliX.
Previously it was possible to use DSL like Rspec or Cucumber with Sikuli but only in batch mode. The main purpose of this project is a development of use cases for testing frameworks based on Ruby specifically for SikuliX IDE with new Ruby API. DSL support for successful use cases is planed to realize with native IDE support.
You can use our templates for:
Or look at simple examples of SikuliX project for testing LibreOffice Writer with:
SikuliX with an integrated rspec and cucumber gems support is available in sources (see also sikulix.gem) or as assembled jars/ previous development version.
It is possible to use SikuliX with RSpec, Cucumber or other testing frameworks without IDE. See comments for sikulix.gem
sikulix.gem for running SikuliX with an external JRuby now available:
Notes:
- Don`t forget to set SIKULIXAPI_JAR environment.
- Place images in the same path as the script or use file names with the absolute path or use ImagePath.setBundlePath(PATH) method to specify images path.
We are welcome to develop any other DSL use cases or it SikuliX IDE native support development.