Page 1 of 1

java instrumentation warning

Posted: Wed Jun 20, 2012 9:10 am
by nandeesh
Hi,

I am getting this warning, even though i did java instrumentation and its recognizing the java UI elements in my application. Everything is working fine but still getting this warning.
Warning:

10.541 Warn Java AWT/Swing Jump to itemView HelpPlease make sure that you have correctly instrumented your Java installation or application. Otherwise Ranorex is not able to access UI objects inside your Java AWT/Swing application.
The following website provides more information on this technology limitation:
http://www.ranorex.com/support/user-gui ... tions.html
(This message is only shown once per report.)



how to avoid this. thank you.

Re: java instrumentation warning

Posted: Wed Jun 20, 2012 9:16 am
by Support Team
Hi,

maybe another Java based application is running, which uses another JRE (e.g. Eclipse...).
Try to close all Java based applications except the one you are testing.

Regards,
Tobias
Ranorex Team

Re: java instrumentation warning

Posted: Wed Jun 20, 2012 10:49 am
by nandeesh
hi,

There are no other java applications running. I am running only one Java swing application.

I have no problem in recognizing java UI elements Ranorex working fine but i am getting this warning in the report. Is there any way to remove that warning at least from report.

I also checked these files: JavaHelper32.dll, RanorexAutomation.jar, accessibility.properties are also in their corresponding folders and i am using Java 6.

Thanks.

Re: java instrumentation warning

Posted: Wed Jun 20, 2012 4:23 pm
by Support Team
Hi,

basically you can disable the warning by choosing "Do not show again" in Technology instrumentation during Recording.
DoNotShowAgain.png
If you want to reset this option, you can do this by pressing the "'Reset not shown technology specific limitations'" button in general settings.

Regards,
Tobias
Ranorex Team

Re: java instrumentation warning

Posted: Thu Jun 21, 2012 6:25 am
by nandeesh
hi Tobias,

I got it. Thanks.

Regards,
Nandeesh

Re: java instrumentation warning

Posted: Thu Sep 27, 2012 4:40 pm
by krstcs
I'm having the same issue.

I have several installed products that we use for development that run on their own version of Java (Oracle, IBM Websphere, etc.).

I don't want to get warnings on the runtimes I am not testing on.

How do I get the system to only worry about instrumentation on just the JRE we are running the application under test on?

I'm thinking that you guys should add a Blacklist/Whitelist feature to the instrumentation warning system that allows the user to specify whole sets of areas to not warn (or specifically warn) about.

I want to be able to see ONLY the warnings about the JRE I am testing against, not all the others.



I do wish that these companies would stop re-packaging Java and just use the one you specify...

Re: java instrumentation warning

Posted: Fri Sep 28, 2012 11:40 am
by Support Team
Hello,

It is unfortunately not possible to restrict the instrumentation for the actually tested application. I will discuss this feature internally with our developers if it is possible to realize it.
Thank you for the suggestion.

Regards,
Bernhard
Ranorex Support Team