axlLoadCornersFromPcfToSetupDB
axlLoadCornersFromPcfToSetupDB (
t_session
t_fileName
t_testNameList
g_overwriteExistingCorners
)
=> t / nil
Description
Imports a set of predefined corners from a process customization file into the corners setup for the given session.
Arguments
|
t_session
|
Name of session in which you want to import corners.
|
|
t_fileName
|
Path to the process customization file (PCF).
|
|
t_testNameList
|
List of tests for which the imported corners should be enabled. Separate the test names in the list using a blank space.
|
|
g_overwriteExistingCorners
|
|
|
Flag to specify how corners should be imported when an existing corner and a corner defined in the PCF file have the same name.
Valid values are:
-
t: If an existing corner and a corner defined in the PCF file have the same name, overwrite the existing corner with the corner defined in the PCF file. -
nil: If an existing corner and a corner defined in the PCF file have the same name, import the corner defined in the PCF file with a different name.
For example, if there is an existing corner named C1 and the PCF file has a corner named C1, the corner in the PCF file are imported as C1_0.
|
Value Returned
|
t
|
Corners were imported from the specified PCF file.
|
|
nil
|
The command could not be run.
|
Examples
The following example loads corners from a PCF file to the setup database:
session = axlGetWindowSession()
=> "session0"
axlLoadCornersFromPcfToSetupDB("session0" "./myCorners.pcf" "\"test1\" \"test2\"" "t")
=> t
Related Topics
Return to top