Synchronous APIs in JavaScript Code

The following table lists the TruClient APIs for which support in JavaScript code will be discontinued in future versions of TruClient.

Tip: We recommend that you avoid using these APIs for new scripts, and that you use Generic API Action steps which have the same functionality.

Utils.clearCookies Utils.clearCache Utils.setEnv Utils.getEnv
Utils.isEnvExists Utils.import Utils.addAutoHeader Utils.removeAutoHeader
Utils.cleanupAutoHeaders Utils.addAutoFilter Utils.removeAutoFilter Utils.cleanupAutoFilters
IO.read IO.write IO.createDir IO.delete
IO.isExist TC.setParam TCgetParam TC.advanceParam
TC.getAttr TC.getUserIP TC.addNetworkFilter TC.clearNetworkFilters
TC.startLogRequests TC.stopLogRequests TC.userId TC.groupName
TC.scenarioId TC.outputDir TC.scriptDir TC.unmask
TC.log TC.outputMessage TC.setLogLevel TC.restoreLogLevel
TC.userDataPoint TC.vuserStatusMessage TC.vtcClearColumn TC.vtcClearCell
TC.vtcClearRow TC.vtcColumnSize TC.vtcConnect TC.vtcCreateColumn
TC.vtcDisconnect TC.vtcDropIndex TC.vtcEnsureIndex TC.vtcIncrement
TC.vtcGetCell TC.vtcGetRowCells TC.vtcPopCell TC.vtcPopMultipleCells
TC.vtcPopCells TC.vtcRotateCell TC.vtcRotateMultipleCells TC.vtcRotateCells
TC.vtcAddUniqueCell TC.vtcAddCell TC.vtcAddCells TC.vtcUpdateCell
TC.vtcUpdateEqualsCell TC.vtcUpdateRowCells