The new Sakuli Release 2.5.0 has many improvements in its luggage, which both users and developers have longed for. In addition, a completely new option for automation made it into the release! We are talking about the Sakuli OCR module. But everything in the right order! Let’s get it started with the improvements on the Sakuli core! A detailed list of all applied enhancement and fixes can be found in the CHANGELOG.md.
Since Sakuli is often used in combination with (test) automation tools, it was sometimes very difficult to get the information from the log files. That’s why we introduced log modes. With the help of the “CI” log mode, the log messages are written directly to the console. That makes access in the context of automation significantly easier. For more information, please have a look at the log mode documentation
It is now possible to use the sakuli decrypt cli command to decrypt secrets providing the master key used for encryption. This allows you to receive already encrypted secrets as human-readable text for e.g. debugging purposes.
testCase.endOfStep() comes with some limitations in terms of monitoring integration, we introduced
testCase.startStep(). This also deprecates
testCase.endOfStep(). We highly encourage users to use
instead. For more information, please have a look at the
startStep API docs.
With this release, we added the Sakuli OCR (optical character recognition) module to the enterprise package portfolio. Leveraging the abilities of OCR, Sakuli is now able to interact with screen content based on the displayed text. For more information, please have a look at the Sakuli OCR documentation.
LogMode=ci introduced to Sakuli core with the new release is now the default log mode of the container. That being
said, logs messages are represented on the console / stdout as well as in the log files. This makes it a lot easier to
access and analyze log messages.
It is now possible to use third party packages mentioned in your
package.json during containerized sakuli execution.
By setting the environment variable
true, the container will perform an
npm install command
before executing checks. For more information, please have a look at the
The brand new OCR Module is also installed in the container and ready to use without an additional setup required.