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