Version 8.0.1 |
In order to resolve Tree components correctly, it is necessary to map the component containing all entries, which is the tree itself, as well as the components which represent the individual tree entries. Furthermore, you need to map the toggle button which opens and closes a tree node.
| |||||||||||||||||||
Table 50.2: Mapping of trees |
If QF-Test does not recognize the level of branches or leaves out-of-the-box or does not
expand nodes correctly,
you can configure the Configuration category treeResolver
of the 'CustomWebResolver'.
Alternatively, you can use
The TreeIndentationResolver
Interface to configure
the indentation detection.
Example:
The "CarConfigurator Web" demo
(qftest-8.0.1/demo/carconfigWeb/carconfigWeb_de.qft
)
contains a tree. Please open the specials dialog via the
menu »Options«-»Specials...«,
select a model and click the Button 'Details'.
When you have a look at the CSS classes recorded by QF-Test or analyze the web page with the UI Inspector you will find the following HTML structure (slightly simplifies and shortened):
| ||||
Example 50.22: HTML Tree |
In the CarConfigurator demo test suite you will find the mapping for the tree
in the 'Install CustomWebResolver' node.
It is located in the procedure startStop.start
in the last sequence,
Install CustomWebResolver
.
Figure 50.7: CarConfigurator Web |
The following 'CustomWebResolver' configuration entries map the tree:
| ||||
Example 50.23: HTML tree |
Last update: 9/10/2024 Copyright © 1999-2024 Quality First Software GmbH |
1. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
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.