Share this page

# TruClient - Web environment synchronous functions

The following environment functions are available:

Function | Description
--- | ---
IO.createDir | Creates the specified folder.
IO.delete | Deletes the specified folder or file.
IO.isExist | Checks the existence of a specified folder or file.
IO.read | Returns all the data from the specified file. Converts the data from the specified charset to unicode.
IO.write | Writes the string to the specified file.
TC.getAttr | Returns the value of the command line parameter passed to the test, or its default value.
Utils.getEnv | Returns the value of the specified environment variable.
Utils.import | Evaluates the specified JavaScript file in the arguments context.
Utils.isEnvExists | Checks existence of a specified environment variable.
Utils.setEnv | Sets the named environment variable to the specified value.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: