4.0+61 Generic classes

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 generic class TextField, but they have that specific characteristic to enter passwords, so they get an additional generic type TextField:PasswordField. 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.

61.1 Accordion

61.2 BusyPane

61.3 Button

61.4 Calendar

61.5 CheckBox

61.6 Closer

61.7 ColorPicker

61.8 ComboBox

61.9 Divider

61.10 Expander

61.11 FileChooser

61.12 Graphics

61.13 Icon

61.14 Indicator

61.15 Item

61.16 Label

61.17 Link

61.18 List

61.19 LoadingComponent

61.20 Maximizer

61.21 Menu

61.22 MenuItem

61.23 Minimizer

61.24 ModalOverlay

61.25 Panel

61.26 Popup

61.27 ProgressBar

61.28 RadioButton

61.29 Restore

61.30 ScrollBar

61.31 Separator

61.32 Sizer

61.33 Slider

61.34 Spacer

61.35 Spinner

61.36 SplitPanel

61.37 Table

61.38 TableCell

61.39 TableFooter

61.40 TableHeader

61.41 TableHeaderCell

61.42 TableRow

61.43 TabPanel

61.44 Text

61.45 TextArea

61.46 TextField

61.47 Thumb

61.48 ToggleButton

61.49 ToolBar

61.50 ToolBarItem

61.51 ToolTip

61.52 Tree

61.53 TreeNode

61.54 TreeTable

61.55 Window