Version 8.0.1 |
In order to resolve List components correctly, it is necessary to map the component containing all list entries, i.e. the list itself, as well as the components which represent the individual list entries.
| |||||||||||||||
Table 50.4: Mapping of Lists |
In the case of combo boxes you can also map the specific ComboBoxList
:
List:ComboBoxList
and Item:ComboBoxListItem
.
Sample:
The following HTML code represents a list:
| ||||
Example 50.26: HTML list |
This HTML code offers the choice whether to map the HTML tags or the CSS classes.
We highly recommend to use the CSS classes, as this will be a lot more precise.
datalist
strongly hints that the element refers to a list in the sense of QF-Test.
With list-item
we can add ancestor: List
to be sure not to map sub-items of other complex components (e.g. with
table cells not shown here, which very well could have the CSS class list-item
)
If we used the HTML tags, this might easily lead to wrong mappings
with other components.
If such a thing should happen, and you find it difficult to know why
a mapping is not working, you can use the procedure
qfs.web.cwr.dumpConfiguration
to display the currently configured mappings.
| ||||
Example 50.27: HTML list |
Last update: 9/10/2024 Copyright © 1999-2024 Quality First Software GmbH |
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic 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.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.