Check a Dialog box is popped up

I have a desktop application, and when I open it, if there is any new update, it displays a message saying, “New update available,” and asks whether I want to install it or not. I want to capture the dialog box that is raised. Opening the application and waiting for the dialog box to pop up takes some time (less than 1 minute). So, before checking if the dialog box has appeared, I added a ‘Delay’ activity. (This is a desktop application)

To capture the dialog box, I used Check App State, Get Text, and Take Screenshot activities. However, the target element cannot be identified.

@pd2897

Use one more use application activity to indicate that pop up screen.

try this and let me know if still issue facing

please mark solution if found this is helpful
Happy Automation!!

1 Like

I didn’t get the answer :slightly_smiling_face:

Hi @pd2897

Can you Check with classic get text activity!
Give it a try!

Hope this helps!

Use “Use Application/Browser Activity” inside your existing “Use Application/Browser Activity” only to target this popup.
Use can use check app state inside new “Use Application/Browser Activity” to handle this popup.

1 Like

@pd2897,

I assume this is a desktop application. Can you confirm on which technology it’s developed?

Try spying the popup through UI Explorer to find reliable selectors for INSTALL or CANCEL button.

Use Check App state is the best practice. Don’t indicate the popup in Check app state, indicate a button or that New update available label from that popup.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.