QF-Test uses the following algorithm designed for the best possible assignability of GUI objects when creating 'QF-Test IDs':
qfs:labelis: This value is used for the 'QF-Test ID' and prefixed with the value of the 'Class name' in lowercase letters.
If the 'QF-Test ID' derived this way is not unique, a running number is attached.
Finally a prefix can be added to the 'QF-Test ID'. This depends on the following options:
You can find these settings in the options menu in section »Recording«-»Components«. Open the options menu via »Edit«-»Options«
Find examples in How to judge robust component recognition.
Note Since the 'QF-Test ID' attribute only serves to link the test nodes to recorded components, it can be nice to change it afterwards for better readability. If you choose a value that is already in use, QF-Test will output a warning. If you have already recorded events referring to this component, QF-Test will offer to automatically adjust their 'QF-Test component ID' attribute. This automatic feature does not work for references including variables in the 'QF-Test component ID' attribute.
|Last update: 11/29/2022|
Copyright © 1999-2022 Quality First Software GmbH