Deciding which Form of Tag to Use

This functionality is supported only if you are using the Classic Agent.

When an object’s caption or label changes on a different GUI, it is usually preferable to use multiple tags, each based on the GUI-specific label or caption, instead of using the index. Not only does it make your declarations easier to understand, but it shields your test cases from changes to the sequence of child objects. For example, if the Exit item changes so that it is the fourth item and not the fifth, your test cases will still run.