31.2 SmartIDs – direct component addressing
Since QF-Test 7.0, SmartIDs officially offer the possibility to reference components without recording a Component node.
For certain applications this can greatly simplify the management and maintenance of component information.
SmartIDs can also have a positive impact on the editability and readability of tests.
Last but not least, this enables creating tests even without the recording function, for example when a component or the entire application does not yet exist and you want to implement the test already (“Test first” approach).
As recognition criteria, the component class, its name or label, and the index are available. The values are the same as for the recorded Component node. Component hierarchies can also be represented.
A SmartID is used instead of the QF-Test component ID. Its marker is the hash # as the first character.
This is followed by the name or label of the component, for example:
Details and examples can be found in the manual chapter SmartID.