Skip to content
QiTASC.com / intaQt Studio / IDE Features /
Error Notifications
/ .. / .. /
Error Notifications





Error Notifications

intaQt Studio provides error notifications that contain information about the reasons something is not working, and warnings about syntax errors.

Error Notifications
Error Indications - General
Information About Built-in Models/Stepdefs is Not Available
Highlighted Syntax
Red Text
Unresolved Step Reference
Inapplicable Step Detail
Ambiguous Step Invocation
Conflicting Custom Steps
Custom Stepdefs Conflicting With Built-Ins
Incompatible Step Details
UI Steps Notifications
References to Conflicting UI Steps Elements
Configuration Notifications
Non-Reconfigurable Configurations
Configuration Name or Field Does Not Exist
Incorrect Parameter Type Used
Relative Path Errors

Error Indications - General

Errors in files are indicated by a small, red line on the right-hand side of that line:

alt text

Clicking more... provides an error window that lists potential issues:

alt text

Information About Built-in Models/Stepdefs is Not Available

If intaQt is not running when intaQt Studio is opened, the notification appears at the top of the Feature File. Additionally, the Feature File's text will be red:

alt text

Note: intaQt Studio is also indicating if intaQt is running or not by showing the Connected or Disconnected status at the bottom right corner.

alt text

Highlighted Syntax

intaQt Studio recognizes existing names as well as models and built-ins across a project. Conflicting models, built-ins and names are highlighted:

alt text

Pressing alt + enter(Windows/Linux user) or option + enter(Mac OS user) will bring up the conflicting syntax.

Red Text

Red text is used to indicate certain issues that will cause test cases to fail.

Unresolved Step Reference

If a step is unresolved because it is incomplete or spelled incorrectly, the text will appear in red:

alt text

Unresolved references inspection is available for:

  • Standalone references that do not resolve to any declaration. For example, a reference to an undeclared model.

  • Function invocations without target prefix that do not resolve to any declaration. For example, the function is neither declared inside the model, nor it is in the built-in global functions.

Inapplicable Step Detail

Inapplicable step details refer to step details that are not recognized by intaQt.

Example alt text

Ambiguous Step Invocation

A step is ambiguous if it can be applied to multiple Stepdefs. This means that intaQt cannot determine which Stepdef to execute, resulting in a conflict.

Conflicting Custom Steps

Conflicting step details occur when incompatible step details are used together. In the example below, the Stepdef is is define A as 1:

alt text

When define is used in the Feature File, its step will be printed in red because it conflicts with one of intaQt's built-ins:

alt text

Custom Stepdefs Conflicting With Built-ins

Steps that interfere with the built-in steps are printed in red text. In the following example, a compound step, a colon : is missing at the end of the step (it should be Given a phone as A:). This interferes with the Built-in telephony step Given a phone as A.

alt text

Incompatible Step Details

Most compound steps are treated by intaQt as self-incompatible, meaning if the same step detail is used twice within the same step, the following will occur:

  • intaQt Studio will highlight these steps as incompatible.

  • Running a test case with incompatible step details will fail. An error message showing which step details are incompatible will be printed.

alt text

UI Steps Notifications

References to Conflicting UI Steps Elements

References in UI Steps' actions to elements that do not exist are marked as errors by intaQt Studio. In the example below, the element reference for usernameFeld is highlighted in red text because it contains a typo:

alt text

This can also happen when referenced from action chains:

alt text

If a UI Steps' function remains unresolved because its View contains errors or is missing information, the function cannot be called:

alt text

Configuration Notifications

Non-Reconfigurable Configurations

Certain configurations cannot be added or changed without restarting intaQt. intaQt Studio indicates this in .conf files with orange highlighting. Once intaQt has been rebooted, the new or changed configurations will be applied:

alt text

Configuration Name or Field Does Not Exist

Configuration names and fields that are not recognized by intaQt:

alt text

Incorrect Parameter Type Used

Configuration fields that require Integers or Booleans will display errors if the incorrect parameter type is used. In the example below, port expects an integer:

alt text

Relative Path Errors

intaQt Studio attempts to resolve the paths relative to the project root directory in the Glue and Sql configuration sections:

  • Glue path - path parameter

  • Sql path - jarUrl parameter

intaQt Studio will ignore an entry and not attempt to resolve its path for any of the following:

  • If path or jarUrl are absolute

  • If jarUrl indicates an HTTP for FTP path

If one of the entries cannot be resolved, intaQt Studio highlights the configuration section in red and provides a warning message.

alt text