Page 1 of 1

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

Posted: Fri Sep 06, 2019 10:11 am
by _KK_
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_

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

Posted: Mon Sep 09, 2019 9:01 pm
by Support Team
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
Regards,
Sean

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

Posted: Mon Sep 16, 2019 3:33 am
by _KK_
@Sean
Many thanks.

I will give it a try.

Best regards

Klaus