The comment node in QF-Test

This node can be inserted everywhere and has (normally) no influence on test execution but can be used exclusively for documentation:

Comment node in QF-Test Example

Highlighting

In order to ensure better visibility and legibility of comments nodes, it is possible to highlight a comment (or parts of a comment) by using emphasis (i.e. bold, italic, …) or by using a specific text color:

Comment node in QF-Test colored

The corresponding HTML tags can be used to achieve such a highlight. Doing this, a starting tag, indicates that from here on a certain font and / or color should get used. This font and / or color is then retained until a corresponding, so-called end tag appears.

Example:

Normal text <b>bold text</b> normal text again

Hereby indicates that from here on the text should be marked in bold. The following cancel the bold emphasis, so that only the middle part of the text is displayed in bold.

Support for the following tags has been implemented:

  • to indicate that the text should be shown in italics from here on, as end-tag
  • to indicate that the text should get underlined, as end-tag
  • to indicate that the text should be shown in bold from here on, as end-tag
  • that the text should be crossed out, as end-tag

For colored markings it is possible to add a color=”colorname”-attribute to these tags. That means for a bold, blue text the whole thing has to be changed as follows:

<b color="blue">bold, blue text</b>

Whereby you shouldn’t make the mistake of repeating the color attribute with the end tag (this means to write ), even though will also cancel that later text will be displayed in blue.

In order to get get a colored text without emphasis, the -tag can be used. So:

<font color="green">green text</font>

Notes

  • Comment nodes are written to the run log and are visible for TestRunListener, too.
  • Even if it wasn’t explicitly forbidden – It only makes limited sense to insert a comment node starting with ” → “. With the help of ” → ” QF-Test is indicating the step that just gets executed. Thus a comment step starting with ” → ” may confuse users as they may think that this is the step that currently gets executed. Since QF-Test 5.0.0 a new node was added, the comment node:

Comment node in QF-Test

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.