Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

axlSetPreRunScript

axlSetPreRunScript(
t_sessionName
t_testName
t_scriptName
)
=> t_filePath / nil 

Description

Sets or adds a pre-run script for a test.

Arguments

t_sessionName

Name of the session.

t_testName

Name of the test for which you want to set or add a pre-run script.

t_scriptName

Path to the file that contains the script.

Value Returned

t_filePath

Path to the script file.

nil

The command was unsuccessful.

Examples

The following example adds a pre-run script for the AmpTest1 test:

axlsession=axlGetWindowSession( hiGetCurrentWindow())
=> "session0"
axlSetPreRunScript(axlsession, "AmpTest1", "./myScript")
=> "./myScript"
axlSetPreRunScriptEnabled(axlsession, "AmpTest1", t)
=> t

Related Topics

axlGetPreRunScript, axlSetPreRunScriptEnabled


Return to top
 ⠀
X