QF-Test abstract recorded class from the framework specific classes in order to get classes of common use. Those classes are called generic classes. This concept provides a better readability and clearer understanding of components. Furthermore already created tests can be re-used once the target technology is switched or if you want to maintain tests in various technologies in parallel.
Beside those generic classes QF-Test records generic types as well.
Those types give a more detailed specification of the target
component. A typical use case are password fields. Those fields have the
TextField, but they have that specific
characteristic to enter passwords, so they get an additional generic
Using those types makes the recognition of generic classes for certain
categories stricter and more appropriate.
A great advantage of these generic classes, especially when testing web applications is that a user can freely assign these generic classes to components. Later on these mappings may get reduced onto other generic classes. An example how this can be done may be found in the manual chapter 'CustomWebResolver' – Tables.
Using generic classes has the following advantages:
The following sections list which information is saved in particular.
|Last update: 9/29/2023|
Copyright © 1999-2023 Quality First Software GmbH