ByName--Records the item???s name. When the test runs, UFT finds and selects the first instance of the name, no matter which item was chosen during recording. Select this option if the all items with the same name have identical properties.
ByIndex--Records the item???s index number. Use this value if items with the same name do not necessarily have identical properties.