Verify "Click" activity - window selector trouble

Hello,
I am trying to use the verification target on the click activity. The clicked button opens a new window and I want to make sure that window appeared before continuing. Sometimes this window takes around 8 seconds to open.

I have selected the target in the new window and verified that the Window Selector is correct, however when I run the automation, the bot cannot find the target. I get this errror:
Screenshot 2024-08-09 at 7.19.52 PM

Here the “pdfviewer.aspx” window is the one opened by the click activity and the one I am trying to use as a verification target. The bot seems to be looking for the selector in the existing window, “GreenPoint Ag Customer Portal”, even though the Window Selector indicates the pdfviewer:

Screenshot 2024-08-09 at 7.24.51 PM

When selecting the validation target, it shows as valid. However if I confirm and then go back to edit the target, it shows as invalid.

I have tried changing the UI framework to Active Accessibility but that did not make a difference. I also have the timeout on the validation target set to 10 seconds. What am I missing?

@ra.systems,

Use Check App State activity to check if the popup is opened or not.

Thanks,
Ashok :slight_smile:

Yes, I realize I can do that. I was looking for a concise way to do this without adding a Check App State and a loop, since validation is supposed to be built in to the click activity. I appreciate the suggestion though