Question
Modal box loses focus Error
I have an issue where the Robotics loses focus of a modal box which is used Loop. Please see error screenshot. Please can you provide advice on how to fix this issue. I have tried various options which include; (This error occurs sporadically & Randomly)
- Focus - Modal Box
- Perform Click - Modal Box
- Wait for enabled - Modal Box
- Activate - Modal box
However none of the above has worked. To add context to the situation I am trying to paste a string value into the File Path location see screen shot attached.
Pega Version I am using is 8.1082
If you have a modal dialog that is blocking this form, you will need to close it before you can interact with this form. The best way to do this is to respond to the created event for the modal dialog and close it. The UI thread may be blocked in your automation preventing you from closing the modal dialog directly in your automation and you will need to do this on a separate thread before you can proceed. That is why I usually just use the created event to trigger the additional automation.