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. 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.