I am running an automation against a Java swing client in production. However, this exception is thrown some times. Has anyone experienced this working with Java swing clients before? The exception occurs on a type into activity.
Its difficult to read anything from this exception message, and I have looked online to find an answer to this without any luck Does it have something to do with the java application not responding, or is this something that can be fixed from Studio? Please share if you have had similar experiences or a fix to this
Studio version?
What are you typing and into what kind of element?
Java app version with which the app has been built and the installed version on the system.
I need to know if that activity is failing only on that java app or for any other app (like notepad for example)
Until we narrow it down, there s nothing i can help with. You can use a trycatch and retry if its failing, as a workaround until i can figure out whats the problem.
Also i would suggest upgrading to latest studio -18.1.2
Thank you for the quick reply, I have not experienced that error with other applications like notepad, excel etc. while developing. I have implemented exception handling for this issue so its not a problem for now. I will look into updating Studio as well.
Its a bit difficult to narrow it down as the activity fails on rare occasions, and the exception message does not give me a lot of information. The job has run the last 24 times without that issue, but i am just curious why that exception occurs and if any others had experience with java applications responding with the HRESULT exception.