ApplicationNotRespondingException: What is going on with the WPF tree when this is thrown?

Ask general questions here.
User avatar
_KK_
Posts: 36
Joined: Tue Nov 21, 2017 12:51 pm

ApplicationNotRespondingException: What is going on with the WPF tree when this is thrown?

Post by _KK_ » Fri Sep 06, 2019 10:11 am

In some cases our tests throws the exception.

E.g. we "wait for exists 5s" of an entry in the UI with the functionality BreadCrumb (for Navigation). The path is as XPath in the repo.
Then the Exception is thrown.
But what is the root cause of those exceptions?
It seems that the WPF dll cannot access the application (maybe the application "blocks" itself). The "communication" seems to be broken when walking through the wpf-tree.


Any explanations?

Thanks for an answer.

Best regards.

_KK_

User avatar
Support Team
Site Admin
Site Admin
Posts: 11963
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: ApplicationNotRespondingException: What is going on with the WPF tree when this is thrown?

Post by Support Team » Mon Sep 09, 2019 9:01 pm

Hello _KK_,

Generally, we see this error when the application under test takes long to load or becomes unresponsive. I recommend increasing the function execution timeout which should help resolve this issue.
functionexecutiontimeout.png
functionexecutiontimeout.png (34.93 KiB) Viewed 41 times
Regards,
Sean
.
Image

User avatar
_KK_
Posts: 36
Joined: Tue Nov 21, 2017 12:51 pm

Re: ApplicationNotRespondingException: What is going on with the WPF tree when this is thrown?

Post by _KK_ » Mon Sep 16, 2019 3:33 am

@Sean
Many thanks.

I will give it a try.

Best regards

Klaus