New Member.

How to make Truclient synchronous

Hi all

I am using java script in Truclient for executing a business logic.

Step 1: define variable  "interval=5"

Step 2: Evaluating Javascript and and incrementing interval=<dynamic value> based on the javascript logic.

Step 3: printing "interval"

However, when i execute this truclient, the final value it prints is "5" .

Truclient does not wait for step 2 to completely finish and it navigates to step 3 . However, javascript in step 2 still executes .

How can i make sure the javascript in step 2 is completed and only then the control should pass on to step 3?

Any suggestions?





2 Replies
Micro Focus Expert
Micro Focus Expert

Re: How to make Truclient synchronous

Hi tamilrain9,

please re-post / cross-post your question in the LR / VuGen forum.


Customer Support
Micro Focus

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to make Truclient synchronous


Sounds very strange. 

Can you please attach the script? Export the runtime files to a zip from VuGen, rename to <scriptNamer>.zip.png and attach it here. I would like to have a look



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.