The Smart identification process

Relevant for: GUI tests and components

If OpenText Functional Testing activates the Smart Identification mechanism during a run session (because it was unable to identify an object based on its learned description), it follows the following process to identify the object:

  1. OpenText Functional Testing "forgets" the learned test object description and creates a new object candidate list containing the objects (within the object's parent object) that match all of the properties defined in the Base Filter Properties list.

  2. OpenText Functional Testing filters out any object in the object candidate list that does not match the first property listed in the Optional Filter Properties list. The remaining objects become the new object candidate list.

  3. OpenText Functional Testing evaluates the new object candidate list:

    • If the new object candidate list still has more than one object, OpenText Functional Testing uses the new (smaller) object candidate list to repeat the filter for the next optional filter property in the list.

    • If the new object candidate list is empty, OpenText Functional Testing ignores this optional filter property, returns to the previous object candidate list, and repeats the filter for the next optional filter property in the list.

    • If the object candidate list contains exactly one object, then OpenText Functional Testing concludes that it has identified the object and performs the statement containing the object.

  4. OpenText Functional Testing continues the filtering process described above until it either identifies one object, or runs out of optional filter properties to use.

    If, after completing the Smart Identification elimination process, OpenText Functional Testing still cannot identify the object, then OpenText Functional Testing uses the learned description plus the ordinal identifier to identify the object.

    If the combined learned description and ordinal identifier are not sufficient to identify the object, then OpenText Functional Testing pauses the run session and displays a Run Error message.