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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Desktop...
Power Automate
Unanswered

Power Automate Desktop unable to detect UI elements in Java-based standalone application

(2) ShareShare
ReportReport
Posted on by 6

Hello Everyone,

 I am facing an issue with Power Automate Desktop (PAD).

 I am automating a Java-based standalone application (Oracle Forms).

 After the application launches, it runs independently from the browser — it is not embedded inside any browser window.

  

Problem:

 PAD is unable to detect any UI elements inside the standalone application window (Screenshot Machine 1 No btn).

 Instead, PAD only highlights blank areas or the whole window as one big block.

 Interestingly, PAD can detect and automate elements on the same application when tested on another computer(Screenshot Machine 2 No btn).

 

What I have tried so far:

 Enabled Java Access Bridge (jabswitch -enable).

 Verified Java Access Bridge settings in Control Panel.

 Tried using both Java 1.8 and newer Java versions.

 Ran both PAD and the Java application as Administrator.

 Set display scaling to 100% (no DPI scaling).

 Updated graphics drivers.

 Tried both UI Automation and Java Automation actions inside PAD.

 
 Observations:

 The Java application may be rendering inside a canvas or custom control which doesn't expose standard UI elements.

 Image-based automation works, but since the application has many steps and screens, it would be very tedious and less reliable compared to true UI Automation.

  

Request for Help:

 Is there any other configuration or hidden setting I can adjust to make PAD detect elements inside such Java-based applications?

 Could there be a difference in Oracle Forms server configuration, Java client settings, or accessibility permissions between the working and non-working machines?

 Are there any recommended best practices for automating large Java-based applications when element detection fails?

 

Any guidance, troubleshooting tips, or known workarounds would be highly appreciated.

 Thanks in advance!

I have the same question (0)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
     
    Microsoft do recommend some settings for java based applications for PAD Automation. Not sure whether you have reffered it
     
     
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

  • Suggested answer
    SH-16101208-0 Profile Picture
    6 on at
    Suggested answer also not worked.
    thanks for suggestion.
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
     
    well u mentioned one thing here - in one machine - UI Elements are detected while other not - could u compare the settings/configurations done for the application in both machines and see what need to be done ?
     
    I think that would be way to solve it.
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard