/// <summary> /// Gets the QueryId for the related element specified by UITestElementKind. /// </summary> /// <param name="relatedElement">The kind of related element.</param> /// <param name="additionalInfo">Any additional information required. /// For example, when relatedElement is UITestElementKind.Child, this gives the name of the child.</param> /// <param name="maxDepth">The maximum depth to search under this element to find the required component.</param> /// <returns>The QueryId of the element.</returns> public override string GetQueryIdForRelatedElement(UITestElementKind relatedElement, object additionalInfo, out int maxDepth) { return(InnerElement.GetQueryIdForRelatedElement(relatedElement, additionalInfo, out maxDepth)); }
/// <summary> /// Gets the QueryId for the related element specified by UITestElementKind. /// </summary> /// <param name="relatedElement">The kind of related element.</param> /// <param name="additionalInfo">Any additional information required. /// For example, when relatedElement is UITestElementKind.Child, this gives the name of the child.</param> /// <param name="maxDepth">The maximum depth to search under this element to find the required component.</param> /// <returns>The QueryId of the element.</returns> public override string GetQueryIdForRelatedElement(UITestElementKind relatedElement, object additionalInfo, out int maxDepth) { throw new NotSupportedException(); }