I am experiencing this with Ranorex
Ranorex is not able to find first element when application is logged. But it is happening sporadically and most of the times.
As soon as application is logged in, and I try to assert logged In behavior by finding first element I get this always.
Code: Select all
onecoreuap\inetcore\urlmon\zones\zoneidentifier.cxx(359)\urlmon.dll!727907C9: (caller: 72790258) ReturnHr(10) tid(4af0) 80070002 The system cannot find the file specified.
The object invoked has disconnected from its clients.
Code: Select all
Host.Local.TryFindSingle
Note that I get above urlmon.dll error always ,as soon as AUT is logged in.
How can I make Ranorex recognize application every single time. My AUT is a desktop app with UI built in c++ and I am using VS 2019 .
UPDATE: I am able to get rid of error message above by following https://stackoverflow.com/questions/202 ... from-its-c but the problem of finding first element by ranorex upon loggedIn remains