Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find All Elements does not work #215

Open
sebastianciupinski opened this issue Oct 22, 2024 · 0 comments
Open

Find All Elements does not work #215

sebastianciupinski opened this issue Oct 22, 2024 · 0 comments

Comments

@sebastianciupinski
Copy link

BB
    Launch Application    path=calc.exe
    Sleep     10s
    Find All Elements     //Button

result:

COMException:  (0x80040201): An event was unable to invoke any of the subscribers (Exception from HRESULT: 0x80040201)
   at Interop.UIAutomationClient.IUIAutomationTreeWalker.GetFirstChildElement(IUIAutomationElement element)
   at FlaUI.UIA3.UIA3TreeWalker.GetFirstChild(AutomationElement element)
   at FlaUI.Core.AutomationElementXPathNavigator.MoveToFirstChild()
   at MS.Internal.Xml.XPath.XPathDescendantIterator.MoveNext()
   at MS.Internal.Xml.XPath.DescendantQuery.Advance()
   at MS.Internal.Xml.XPath.XPathSelectionIterator.MoveNext()
   at FlaUI.Core.AutomationElements.AutomationElement.FindAllByXPath(String xPath)

Windows 10 machine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant