Question Error happen while using FlaUI getelement xpath

dardan

New member
Joined
Dec 4, 2020
Messages
1
Programming Experience
5-10
Hi all,

System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component is occurring while making comparision .Equals method for an automation element in getxpath for element "allChildrenOfParent.TakeWhile(child => !child.Equals(currentElement)).Count()". An idea what might cause that?
 
Hi and welcome to the forum.

Show the relevant and problematic code please?
What version of Visual Studio are you running?
Are you doing anything with windows policies when this error occurs?
 
Since FlaUI is open source, I suggest either building from source with symbols or seeing if they release the symbols and then getting a full callstack and looking at the code that is failing.

I also suggest opening an issue on their issue tracker.
 
Back
Top Bottom