Skip to main content
the above highlighted window is not recorded corrected by capture action it is selecting it fine but the value is always true even that short window  is closed  by me earlier . I need to handle it to progress my automation. what action should I use please advise.

 

i have been waiting for any experts reply here. if it could Uipath forum no one hesitate to find  the best solution if they are professionals at every end they ask and coordinate till the issue is resolved  .

 


Use a recorder action to capture the object and inside the recorder action, set the “Action to take on object” field to “Get property”, and then select the property “States”.

After setting up the recorder action that way, run the bot two times, one when the “Currencies” dialog/frame is opened and the other one when it is closed, compare the output of the two scenarios.

I don’t remember exactly how the value changes so I might be wrong, but I believe that the value of the “States” property should change from

“enabled,focusable,visible,showing”

to 

“enabled,focusable,visible”


That’s an interesting question, Zishu 8734 !

I think the following community members may be able to help 

@Marc Mueller 

@Vatsy 

@Zaid Chougle 

@Tamil Arasu10 

@madhu subbegowda 

@jackson 

@HARUN KUMAR 

@NewTushitha 

@Azhar Hossain 

@kdil 

@Padmakumar 


@Zishu 8734 

Option 1: Use "Image Recognition" to detect popup

Use Image-based conditions to check if the popup is open:

  1. Use If Image Exists action
  2. Capture a unique region (e.g., “Currencies” header or “OK” button)
  3. If image exists, the popup is active; otherwise, it's closed.

Works well when Capture fails
Slightly sensitive to resolution changes

Option 2: Use "Window Title" Check (If it has one)

If the popup window has a title bar or is treated as a distinct window:

  • Use If → Window Exists
  • Use the exact window name or wildcard (e.g., "*Currencies*")
  • Add a timeout or retry to wait until it closes

Check in Task Manager or via Alt+Tab if the popup has its own window title.

Option 3: Use Keystroke or Surface Automation to Force Close

If the popup is persistent and can't be detected reliably:

  • Send a keystroke like Esc or Alt+F4 using Keystroke action to force it closed
  • Or click the “Cancel” button via Image or Capture

This works as a fallback when detection isn't stable.

 

Option 4: Use OCR (If needed)

If image and capture both fail, use Get Text (OCR) in a defined region:

  • Define the region over the popup
  • If text = “Currency” or “Find %”, assume popup is open
  • Use this conditionally to proceed

 

Suggested Flow:

 

If Image Exists ("Currencies" popup title or OK button)

   → Perform selection or click Cancel

Else

   → Continue with next step

 

Optional: Cleanup Logic

  • Before performing any action, insert:

 

If Image Exists (popup)

   → Click Cancel or Esc

So your bot always starts from a clean screen state.

 


Hi ​@Zishu 8734,
Were you able to resolve this issue based on the above responses?

Please do let us know.

Thanks!


Reply