Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to record JAVA Swing application with JAVA add-in
#1
Not Solved
  • We have installed trial UFT One version which automatically add the environment variable like _JAVA_OPTIONS, JAVA_TOOL_OPTIONS and IBM_JAVA_OPTIONS in System environment variables.
  • When we try to open/invoke our desktop application which is developed in JAVA Swing, it is not able to invoke as UFT has already setup the _JAVA_OPTIONS, JAVA_TOOL_OPTIONS and IBM_JAVA_OPTIONS in System environment. When we remove these UFT _JAVA_OPTIONS, JAVA_TOOL_OPTIONS and IBM_JAVA_OPTIONS then we are able to invoke application.
  • We have tried to use batch file where we have set _JAVA_OPTIONS, JAVA_TOOL_OPTIONS and IBM_JAVA_OPTIONS and removed from System environment variables then UFT does not record any JAVA code, though we have selected Java add-ins. None of lines are getting recorded.


  • Values that are populated in  _JAVA_OPTIONS, JAVA_TOOL_OPTIONS and IBM_JAVA_OPTIONS are as below :

  • _JAVA_OPTIONS
    -Xrunjvmhook -Xbootclasspath/a:"C:\Program Files (x86)\Micro Focus\UFT One\bin\java_shared\classes\jasmine.jar"


    IBM_JAVA_OPTIONS
    -Xbootclasspath/a:"C:\Program Files (x86)\Micro Focus\UFT One\bin\java_shared\classes\jasmine.jar"


    JAVA_TOOL_OPTIONS
    -agentlib:jvmhook


  • So if anyone faced this kind of situation then please help us in resolving this kind of case and how to setup _JAVA_OPTIONS, JAVA_TOOL_OPTIONS and IBM_JAVA_OPTIONS differently.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to identify Child Object for a window application created using C#. ssanjeev 3 5,898 03-27-2017, 05:38 AM
Last Post: ankita
  UFT 14.00 and swing/rcp-applications? nguyen4685 1 1,669 02-08-2017, 02:13 PM
Last Post: nguyen4685
  UFT not recognizing Java Objects/ Elements YogeshCallappa 0 3,117 11-08-2016, 02:44 PM
Last Post: YogeshCallappa
  Unable to switch between Tabs in Swf Application in QTP Vijay_bt 0 2,321 10-21-2016, 08:22 PM
Last Post: Vijay_bt
  UFT 12 not recognizing Java Swing objects uftuser18 0 3,138 07-22-2015, 01:58 AM
Last Post: uftuser18

Forum Jump:


Users browsing this thread: 1 Guest(s)