Edit

Share via


DuplicateSiblingIDs

Text

Duplicate Automation ID \"{0}\" will cause ambiguity between elements.

Type

Error

Description

An element has the same Automation ID as another element.

This issue can cause automation problems that prevent test code from referencing the correct element.

Possible causes

  • Sibling elements have the same Automation ID.
  • Incorrect implementation of the UIA AutomationId property.

UIA_AutomationIdPropertyId

IUIAutomationElement.CurrentAutomationId