cancel
Showing results for 
Search instead for 
Did you mean: 

[Java] Trouble Attaching To In-Browser Java Application

JesperHededam
Level 3
Hi, We're having trouble attaching to an already existing Java application with a 2nd object. The Java application is running in an Internet Explorer 11 tab, and interfacing with it is working fine with the 1st object (object that launches the application via IE11). I should mention upfront that launching IE 11 and navigating to this particular tab causes the attach to work just fine for the object used to launch with. So we have a main object used to do the generic stuff with, like launching. The intention is to have a 2nd object to do some of the more specific stuff within this Java application, and it is this 2nd object that has trouble with attaching. That is, it attaches fine, but it attaches in a way where we can't use the Java spy mode. I've tried to attach with the following configurations: process name = "iexplore" + child count = 1 process name = "jp2launcher" Java Access Bridge is enabled under "Ease Of Access Center".   Symptoms: Launching IE 11 and navigating to URL containing Java application Attach working fine, we're able to use Java spy mode Attaching to existing IE 11 with loaded in-tab Java application from a different object Attaches to tab, but we can't use Java spy mode. When cycling through the different spy modes Java is never an option that appears. Suggestions?
2 REPLIES 2

JesperHededam
Level 3
UPDATE: Apparently, launching via the object that doesn't work, by calling the object that does work, within the object that doesn't work, attaches the object in such a way that it can now spy Java. Why do we have this difference? Are we simply attaching the wrong way? How would you attach an object to a Java application running in a IE11 tab? Would you target the iexplore process or the jp2launcher process? On one hand, if I kill the jp2launcher process, then the Java application stops working On the other hand, if I kill the iexplore process, then this kills IE11  

JesperHededam
Level 3
UPDATE: When doing an ""Open Application Navigator"" we get nothing useful out. This is in spite of being able to spy and highlight elements that doesn't appear in the ""Application Navigator"". Do anyone know the course hereof?