Sign in to follow this  
Followers 0
bailworth

Java Applet in IEFrame

1 post in this topic

I am pulling my hair out here and would be extremly greatful if anybody out there could help me. I am not even 100% sure if this can be done, but here's hoping.

I have access to an oracle application via a VPN connection. The application runs in an IE Frame and contains Java Applets. I have gone through the Java Access Bridge stuff, but the JavaFerrett does not display any information for this window. I am not sure if this is because its within an IE7 window or because its via VPN, but either way it doesnt show any information to me.

What I need to do is find the object/control names for buttons, links, menus etc within the application so that I have a more robust way of performing the tasks I need. The mouseclick(coords) works ok but is very flaky, in that the objects being clicked are small and so a key click could be missed and throw the whole process out of sync, I am also struggling to get the relative coords working (another issue entirely).

I have gone through the functions in java.au3 but have a problem in that the ferrett object name is really needed and I cant get it.

Has anybody worked with Java Appletts in a IEFrame before and if so have you tried it over a VPN.

Here is the code I used to try and retrieve object names using java.au3 functions.

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

#include <java.au3>

#include <tesseract.au3>

winactivate("170.100.10.223")

sleep(3000)

$att = _JavaAttachAndWait("170.100.10.223")

if $att = 0 Then

msgbox(0,"info","failed to atatch")

EndIf

$retval = _JavaObjValueGet(1)

msgbox(0,"info",$retval)

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

This just returns "ERROR: GetAccessibleContextInfo failed"

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0