The table 'Extra features' stores various information
useful for the recognition of the component.
In the chapter about 'Extra features'
you will find a list of the default entries.
But you can also add your own via an
(see subsection 52.1.11).
Some of the additional features are recorded preventatively and are not usually used for component recognition. This mostly concerns information about the component class, which QF-Test uses to derive the Generic classes. By default, they have the status "Ignore". This can be changed if the original value is of interest in special cases.
Among the 'Extra features', the
are interesting for recognition.
For component recognition labels are very important. There are a number
of different types such as the text of the component itself, for
example with a button. Or a label component programmatically assigned
to another component using
labelFor for example. Then there
are label components close the component, a tooltip or even an icon
Up to QF-Test version 6 the best label is saved in the extra feature
From QF-Test version 7.0 all labels identified for a certain component will
be stored in the extra features, starting with
a string showing the type, for example
qfs:labelText for the text
of a button or
qfs:labelLeft for the label left of a text field.
The advantage of the specific
qfs:label* types is replay performance
on the one hand, because QF-Test can search directly for the specific label,
and flexibility on the other hand.
When you want to use the new algorithm for the extra feature
on existing component nodes please change the name to
telling QF-Test to look for the best of the available labels.
You will find more information about the transition in the chapter
The following table shows the available positional labels:
The following list shows the available
and the qualifier to be used when you want the address the component directly
via SmartID. Descriptions are below the list.
The entries in the column "Category" correspond to the terms used in the section "qfs:label" in Generic classes.
|Table 5.2: |
labelForwith web applications.
For information about switching from the old to the new algorithm
please refer to The
When analyzing a component QF-Test looks for different types of labels
which might be used for the component. The labels found will
be saved in the 'Extra features' table, the names starting with
The one with the best ranking (best label) will get the status
"Should match", the others "Ignore". The order of the entries in
above table rouhly represents the ranking for most component classes.
The exact order can be found in the section "qfs:label*" of the
properties of the Generic classes.
Distance and overlapping also have an influence of the ranking
qfs:label* variants of the category
"Label close to it".
The value of the label ranking highest will additionally be stored
as an extra feature with the name
qfs:labelBest and the state
"Ignore". In a SmartID this extra feature can be referenced by the
qlabel. See also
SmartID syntax for 'Extra features'.
qfs:text contains the text of the component itself.
For text fields or PDF components, this is an additional information
which could not be used for component recognition
without an additional resolver up until QF-Test version 5.3.
|Last update: 9/29/2023|
Copyright © 1999-2023 Quality First Software GmbH