Yann Spöri Articles by Yann Spöri

Annotating screenshots with QF-Test

For many people a picture is worth a thousand words. That’s why, in this article, we will show how to add various annotations to screenshots using QF-Test.

Yann Spöri Yann Spöri

The Blockchain Icon Mode – QF-Test out of blocks

Today on first april we finally succeeded in a promising experiment for the automatic redesign of QF-Test – how useful the blockchain technology can be.

Yann Spöri Yann Spöri

Testing Excel files

Excel files can be read into QF-Test using a simple procedure call where the procedure qfs.utils.files.readExcelFile must be called.

Yann Spöri Yann Spöri

TestRunListeners in QF-Test

The TestRunListener interface can be used to execute additional actions before or after the execution of each node or in the case of any exception / error. This actions can (for example) be used for testdocumentation or error analysis. In the following some TestRunListeners are introduced (Jython server scripts).

Yann Spöri Yann Spöri

Creating screenshots with QF-Test

It is relatively easy to take a screenshot of the complete picture with the help of QF-Test. For example, to create a screenshot of the current desktop, only the procedure logScreenshot must be called.

Yann Spöri Yann Spöri

Parsing JSON

Especially when testing websites, you are now and then faced with the problem of having to parse JSON (=JavaScript Object Notation) strings.  In this blog article, however, the JSON library provided by QF-Test should be described.

Yann Spöri Yann Spöri

Node Transformations in QF-Test

QF-Test it is possible to transform a node into another node type.

Yann Spöri Yann Spöri

The comment node in QF-Test

Since QF-Test 5.0.0 a new node was added, here you will learn how to use the comment node.

Yann Spöri Yann Spöri

Analyzing ComponentNot­FoundExceptions

In case QF-Test is unable to identify the corresponding component in the application a ComponentNotFoundException gets thrown. Whenever an exception occurs QF-Test (by default) logs a screenshot.

Yann Spöri Yann Spöri

Execute test cases and sets with a certain tag

Large test projects may consist out of several thousands of test cases. Often executing them all would need a considerable amount of time, even if multiple machines are used in order to replay the different tests. The solution are tags.

Yann Spöri Yann Spöri

Mark nodes via colors

In order to simplify test suite editing it is possible to assign colored marks to nodes. This feature is especially (but not only) helpful in the context of complex find and replace operations – in this case, the color markers can for example be used to indicate that a node still needs revision or that a node was edited successfully.

Yann Spöri Yann Spöri

Disabled node

In some cases it is helpful to disable nodes temporarily. Here is a short article how to do this.

Yann Spöri Yann Spöri

Writing your own checkers

While testing an application, one of the most important steps is to verify that the actual state of the application is correct.

Yann Spöri Yann Spöri

Accessing sub-items of GUI components

In most cases we are dealing with more or less straight-forward GUI components,such as buttons and text fields. Nevertheless we often have to deal with morecomplex GUI components like trees, tables and lists too. These GUI components have sub-items.

Yann Spöri Yann Spöri

Password encryption

Sensitive information like passwords should be treated with care. However often tests need to fill out a login form and thus these tests require to know the password.

Yann Spöri Yann Spöri

Creating custom HTML/XML/Junit reports

Via the run log QF-Test provides a detailed log about the actions it executed during a test run. The overall results of this run log can be summarized in other reports like the HTML/XML/Junit report.

Yann Spöri Yann Spöri

How to create procedure calls

Procedures (also called function or subroutine) may be used in order to solve often (re-)occurring challenges.

Yann Spöri Yann Spöri

Capture & Replay

Even in early stages of development Capture & Replay offers a easy way to create tests. An early start of such regression tests and the assignment of unique names / IDs are the most important bases for efficient (due to stable recognition) test automation.

Yann Spöri Yann Spöri

Using QF-Test as Calculator

Sometimes it is necessary to perform mathematical calculations in QF-Test, e.g. in order to calculate the expected height of a GUI element in dependence of the complete window size or the exact clicking position for a mouse click.

Yann Spöri Yann Spöri

QF-Test and Java client code coverage analysis

A high percentage of executed code indicates a little probability of undetected software bugs.

Yann Spöri Yann Spöri

We use "Matomo" cookies to anonymously evaluate your visit to our website. For this we need your consent, which is valid for twelve months.

Cookie Configuration

Functional cookies

We use functional cookies to ensure the basic functionality of the website.

Performance and statistics cookies

We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.

Cookie details
Description Vendor Lifetime Type Purpose
_pk_id Matomo 13 Months HTTP Contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
_pk_ref Matomo 6 Months HTTP Used to track from which website the anonymized user proceeded to our website.
_pk_ses Matomo 1 Day HTTP The Matomo session cookie is used to track the visitor's page requests during the session.
_pk_testcookie Matomo Session HTTP Used to check whether the visitor's browser supports cookies.
_pk_cvar Matomo 30 Minutes HTTP Temporarily store data about the visit.
_pk_hsr Matomo 30 Minutes HTTP Temporarily store data about the visit.