Pop Up window appears


#1

Hello,
After performing a task, a pop appears that tells whether the task has been successfully done or there is some error. I tried it using on Image Appear, but timeout exceed exception appears. I also tried on Element Appear, but the same result.
I also used element exists, but unable to identify whether pop up contains error message or success message.
I also tried to get OCR text, but not able to understand how to use it, and what parameters are needed to pass.
Please note- pop up window is a bootstrap modal, not explorer generated pop up.


#2

Can you try the get text activity, and extend the timeout parameter?


#3

Element exists should be the way to go. Try to just select the pop up message text as your selector, instead of the entire pop up. You should be able to get a selector containing 'aaname=‘Task succes’ or something like that.


#4

element exists return true when pop up appears. But how to identify whether the pop up contains success message or error message


#5

Hi, have you tried ‘text exists’ or ‘image exists’ ?


#6

get text activity does not have timeout property. Please clarify your suggestion


#7

Hey @Purvi,

Try using get text activity and select only the text inside that pop up box.
After that you can use if something like :
if (getTextMessage.Contains(“Error”)) then some action.
If you’re having trouble finding the element, check the selector through UiExplorer


#8

uipath


#9

You may try the solution with “Text Exists” as shown below - “Image Exists” may be applied in a similar way. Play with Accuracy (for “Image Exists”) and TimeoutMS (for any of these two) if needed.


#10

Thank you everyone for your posts.

The error has been resolved using get text activity.


#11

I have a question.

I want to ask how you all get notified when I posted a question?

I also wants to share my knowledge. But I do not get aware that someone has posted a new question that needs to be answered.

Please tell me the process to know about the new questions raised in this forum.


#12

Hi, personally I just go to the forum into “Rookies” section every day:
https://forum.uipath.com/c/rpa-dev/rookies
You can then filter all the posts the way you like e.g. via “New”, “Latest”, “Unread” etc.


#13

@PAD
thank you


#14

NP @Purvi, happy automation!


#15

Please could you mark the solution :slight_smile: