Version 8.0.1 |
webResolvers
module (deprecated)8.0+Version 4.2 of QF-Test introduced the webResolvers
module
which made it possible to execute Javascript based resolver logic in web projects in special cases
directly in the browser. Since this can also be done with a classic resolver (see chapter section 53.1)
using callJS()
(see chapter subsection 53.11.4), the module has been
deprecated in QF-Test 8.0.
A name resolving, which calls in case of a missing name the method customFallbackNameProvider
on the node in the browser,
could have been performed using the webResolvers
module with this code:
| ||||
Example 53.30: A deprecated webNameResolver is registered via Jython |
It is very simple to reformulate the code avoiding the webResolvers
module:
| ||||
Example 53.31: A NameResolver with Javascript call is registered via Jython |
The performance of the resolver can be improved in this case by only conditionally calling the Javascript code in the browser:
| ||||
Example 53.32: A NameResolver with Javascript call is registered via Jython (optimized) |
The transition of other existing webResolvers
module calls can be done in the same way.
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.