cancel
Showing results for 
Search instead for 
Did you mean: 

Java Spy Mode Error in Oracle EBS Java forms

RahulRamesh
Level 4
Hello,
Trying to Automate Java forms using BP. When opened the Oracle EBS in IE in Application Modeller and while spying the Java forms in order to identify the fields I couldnt able to switch to "Java Spy Mode" (while pressing alt).
The Java spy mode is not present.

Please help me on this issue.

Regards,
Rahul Ramesh

------------------------------
Rahul Ramesh
------------------------------
13 REPLIES 13

AndreyKudinov
Level 10
Make sure you enabled java access bridge. You need a separate object to attach to a Oracle Forms window.

------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------

Hello @AndreyKudinov
By following the below steps the JAB has been enabled:
  1. Go to Start > Control Panel > Ease of Access > Ease of Access Center.
  2. Select Use the computer without a display.
  3. In the section Other programs installed, select the check box Enable Java Access Bridge (you may have to scroll down).
Still facing the same issue. The Spy modes available when launching the oracle EBS are IE HTML mode, Win 32 mode, UI automation mode, Accessibility mode, Region mode (while pressing ALT key). Java mode is missing.
Included these files in BP Folder as well:
12235.png

Kindly provide solution.

Regards,
Rahul Ramesh



​​

------------------------------
Rahul Ramesh
------------------------------

Hello @AndreyKudinov
1) created a object with IE to open the Oracle EBS and launched the form
2) created another object to Attach to the Launched Java Form​
 Iam receiving the following error:
Error - Failed to launch application - Could not initialise Java Access Bridge support - Failed to load Java Access Bridge DLL. The file could not be found in any of the following expected locations -
Application Directory: D:\BluePrism\WindowsAccessBridge-32.dll
System Directory: C:\windows\SysWOW64\WindowsAccessBridge-32.dll
Windows Directory: C:\windows\WindowsAccessBridge-32.dll
Current Directory: D:\BluePrism\WindowsAccessBridge-32.dll

Can you help on this?

Regards,
Rahul Ramesh

------------------------------
Rahul Ramesh
------------------------------

Hi Rahul,

Try to enable JAB using cmd.

%JRE_HOME%\bin\jabswitch -enable


------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------

You can try this: https://github.com/google/access-bridge-explorer (download from releases)
If it works - JAB is enabled and you are doing something wrong in Blueprism (although your description seems fine). 
Also try what @GopalBhaire​ suggested.

Which Java version are you using btw?
Try to only leave one 32 bit installation. If you have multiple versions installed, it might be a problem.

------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------

Hello @AndreyKudinov @GopalBhaire
Thanks for your inputs!!!
The Good News is​ the Java mode got appeared. What I did was:
In Application Wizard under "Select Application Manager Mode" I have selected "External ,64-bit Mode".
So by this able to Attach the existing Java Form and able to Identify the Elements in Java Mode.


But there is another query. I can able to read, Click operations in the fields.
But the Write Action is not happening.
The Error message: "Call to setTextContents failed"
In Navigate Activity I dont see any option for "Global Send Keys".


Please help me out with this issue.
Regards,
Rahul Ramesh



------------------------------
Rahul Ramesh
------------------------------

Write doesn't work with OEBS edit fields usually. Global send keys should be at the top level element.

------------------------------
Andrey Kudinov
Project Manager
MobileTelesystems PJSC
Europe/Moscow
------------------------------


12248.pngHello @AndreyKudinov
Thanks for your response.
PFA- the SS of LOV of Navigate Activity.
I don't see any option for Send Keys. What should be done in order to obtain it?
Is there any alternative available?

Regards,
Rahul Ramesh


------------------------------
Rahul Ramesh
------------------------------

Hi Rahul,

One reason you get setTextContents error is when the JRE is less than v1.4, make sure it is v1.4 or above. 

Also, the Global Send Keys command is not available for any of the Java Elements just checked the Application Manager Operations (not sure when this was removed). But you can use Focus and then try Global Send Keys on your browser window. 

Thanks,



------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------