web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Standalone software wi...
Power Automate
Suggested Answer

Standalone software window detection.

(1) ShareShare
ReportReport
Posted on by 6
I'm trying to automate a process in an Oracle application where the main window is in the background, and a search window appears on top. When I search for an ID in that window, if the ID isn't found, it remains focused on the search window. However, if the ID is found, the search window closes, and focus shifts to the main window. This is currently a manual process.
I'm attempting to determine whether the search window is present using actions like "if image" or "if window contains," but these methods aren't working. Do you have any suggestions for a solution?
Screenshot 2024-10-16 175511.png
I have the same question (0)
  • Suggested answer
    eetuRobo Profile Picture
    4,583 Super User 2026 Season 2 on at
    Does "If window contains" just give error that it cant find the element? Your element might be trying to find some attribute that is dynamic. I suggest you open the UI element and press "Test" when you have the search window open and see on what child element gives the error.

    For example here I can see that everything up until the 5th child element can be found. So then I can try to fix that so it doesn't reference some attribute value that changes every run.



    Or if it cant find the window then your window element might refer to certain ID and since that changes every run you should change it not to reference the ID or dynamically refer to it with variable.

    I suggest trying to stick with "if window contains". "If image" is not as stable since its just trying to find an image that might have changed a little or be under some other window. Rather add Image as fallback to your UI elements.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard