You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Received this error on a FindFirstDescendant operation swapping windows. Find operation was x => x.ByHelpText(helpTextGuid).And(x.ByControlType(ControlType.Window)
System.ArgumentException with message "Value does not fall within the expected range."
at Interop.UIAutomationClient.CUIAutomation8Class.CreatePropertyConditionEx(Int32 propertyId, Object value, PropertyConditionFlags flags)
at SHAutomation.UIA3.Converters.ConditionConverter.ToNative(UIA3Automation automation, ConditionBase condition)
at SHAutomation.UIA3.Converters.ConditionConverter.<>c__DisplayClass0_0.b__0(ConditionBase c)
at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source)
at SHAutomation.UIA3.Converters.ConditionConverter.ToNative(UIA3Automation automation, ConditionBase condition)
at SHAutomation.UIA3.UIA3FrameworkAutomationElement.FindFirst(TreeScope treeScope, ConditionBase condition)
at SHAutomation.Core.AutomationElements.SHAutomationElement.FindFirstBase(TreeScope treeScope, ConditionBase condition)
at SHAutomation.Core.AutomationElements.SHAutomationElement.FindFirstDescendantBase(ConditionBase condition)
at SHAutomation.Core.AutomationElements.SHAutomationElement.<>c__DisplayClass204_0.b__0()
at SHAutomation.Core.AutomationElements.SHAutomationElement.GetElement(Func1 function, Boolean shouldExist, ISHAutomationElement& element) at SHAutomation.Core.AutomationElements.SHAutomationElement.FindFirstDescendant(ConditionBase condition, TimeSpan timeout, Boolean waitUntilExists, CancellationToken& cancel) at SHAutomation.Core.AutomationElements.SHAutomationElement.FindFirstDescendant(Func2 conditionFunc, TimeSpan timeout, Boolean waitUntilExists)
The text was updated successfully, but these errors were encountered:
Describe the bug
Received this error on a FindFirstDescendant operation swapping windows. Find operation was x => x.ByHelpText(helpTextGuid).And(x.ByControlType(ControlType.Window)
System.ArgumentException with message "Value does not fall within the expected range."
at Interop.UIAutomationClient.CUIAutomation8Class.CreatePropertyConditionEx(Int32 propertyId, Object value, PropertyConditionFlags flags)
at SHAutomation.UIA3.Converters.ConditionConverter.ToNative(UIA3Automation automation, ConditionBase condition)
at SHAutomation.UIA3.Converters.ConditionConverter.<>c__DisplayClass0_0.b__0(ConditionBase c)
at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext() at System.Linq.Buffer1..ctor(IEnumerable1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source)
at SHAutomation.UIA3.Converters.ConditionConverter.ToNative(UIA3Automation automation, ConditionBase condition)
at SHAutomation.UIA3.UIA3FrameworkAutomationElement.FindFirst(TreeScope treeScope, ConditionBase condition)
at SHAutomation.Core.AutomationElements.SHAutomationElement.FindFirstBase(TreeScope treeScope, ConditionBase condition)
at SHAutomation.Core.AutomationElements.SHAutomationElement.FindFirstDescendantBase(ConditionBase condition)
at SHAutomation.Core.AutomationElements.SHAutomationElement.<>c__DisplayClass204_0.b__0()
at SHAutomation.Core.AutomationElements.SHAutomationElement.GetElement(Func1 function, Boolean shouldExist, ISHAutomationElement& element) at SHAutomation.Core.AutomationElements.SHAutomationElement.FindFirstDescendant(ConditionBase condition, TimeSpan timeout, Boolean waitUntilExists, CancellationToken& cancel) at SHAutomation.Core.AutomationElements.SHAutomationElement.FindFirstDescendant(Func2 conditionFunc, TimeSpan timeout, Boolean waitUntilExists)
The text was updated successfully, but these errors were encountered: