cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vamsi_varanasi
Helper IV
Helper IV

Unable to Capture the Java application Objects

Dear Community,

I am currently trying to capture the objects using PAD from one of the application which is developed in Java, I am able to capture the complete window and title object but unable to capture the "buttons" and "Input text" objects, example : OK , Cancel , Password buttons and user id and password input text fields. 

 

Do I need to enable any java plug-in in order to capture these objects. Please help. 

 

Thanks,

 

11 REPLIES 11
miketran13
Impactful Individual
Impactful Individual

Hello,

 

PAD is just a new version of WinAutomation and to make it able to interact with JAVA application you must check a few things as the image and the link I have attached. 

java.png

Interaction with JAVA-based applications 

 

Thanks and hope it can help you. 

Mike

---------------------------------

Did I answer your question? Please consider to Mark my post as a solution! to guide others

vamsi_varanasi
Helper IV
Helper IV

I will try this solution today and I will update you here. Thank you. 

Hi @miketran13 ,

 

Thanks for the suggestion.  I am developing the PAD flows inside the Windows 10 VM and I am unable to see the section "option programs installed" in my control panel.

vamsi_varanasi_0-1613685032167.png

 

Please guide here.

 

 

 

 

Hello,

I would like to bump this thread, since I am facing the exact same issue; i.e.: PAD cannot detect UI elements (buttons and such) from a Java desktop application.

 

I have come across the article referenced above in the past, and verified that the instructions are valid in my environment:

  • Java JRE is installed on my PC (otherwise the desktop application would not run) (Java 8 )
  • Java Access Bridge is enabled
  • PAD and the desktop application run with the same (non-admin) user; results are the same with admin users too

However I am not sure about the Java installation bit rate. What does this option mean, and how can I check it?

 

Does someone have any hints on how to troubleshoot this?

 

Thanks,

Fotis

 

P.S. I should note that the issues mentioned above happen only in my work PC. At home, Java UI recording seems to work properly, but I cannot find any option that seems to affect it.

PAD runs as 64-bit application so you need to install and use the 64-bit version of Java JRE to be able to automate it. Might be that you have just installed the 32-bit JRE version or that your Java application uses the 32-bit version. 

Thank you very much, using a 64-bit JRE seems to do the trick!

What can I do if the application requires a 32 bit version?

 

Thanks,

Michael

Hello,

Is there anyaway to user PowerAutomate witch Java 32bit application with Java Access Bridge?

Thanks

Kresimir_RPA
Advocate III
Advocate III

Hi, I have the same question. I'm trying to get UI elements in application that runs on 32bit JAVA. Is there a way to make it work? Is PAD going to implement a working solution for this?

 

Regards,

Krešimir

Kresimir_RPA
Advocate III
Advocate III

I've tried these steps here: https://docs.microsoft.com/en-us/power-automate/desktop-flows/how-to/java

but didn't get any results.

Java Bridge did nothing for me. However, we were able to update the application in the meantime and now it seems to work.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,371)