Share this page

# Programming for scripts

You can add JavaScript or C code to your TruClient 2.0 script, use API functions, and create new functions.

The following options are included to help you program your script.

Option | Description
--- | ---
Custom functions | Create functions (reusable group of steps) to perform a task, and use the functions locally, or share them for use in other scripts. For details, see Work with function libraries.
Custom JavaScript code | Add and edit the JavaScript expressions and variables in your script. For details, see Work with JavaScript.
Custom C code | Add steps containing custom C code and functions, to be called during replay. For details, see Work with C functions.
TruClient API | Add JavaScript functions from the TruClient 2.0 API to your scripts. The API supports asynchronous communication. For details, see TruClient 2.0 - Web functions.

Back to top

See also:

- Enhance scripts

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 25.1-25.3 All View Local Help Center View Online Help Center Version: