Highlighted
Micro Focus Expert
Micro Focus Expert
79 views

<UFT Support Tip> What to do when Java related Activities do not run at all in UFT API test

When using UFT API java related activities the Java Heap Size may affect the execution of such activities. This could lead to a symptom when trying to run the test it will display only Start – End in the Output pane without further error or warning messages of what could have cause the test not to run.

 

Also the UFT logs won’t show exact stack trace of the problem.

 

It has been investigated that Java Heap Size may impact the execution of the java related API activities as the JMS activities or Java Call activities in some machines.

 

To overcome the problem the maximum heap sizes can be changed using the “Additional VM Parameters” option found in the test settings and using a value of –Xms256M or –Xms128M. User will have to test what value works better for any particular machine.  Here is a screenshot of how to supply this value:

 

Labels (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.