import, global, variables, load, open, scriptless, script-less, scripted, step, view, stepview

Method Zap.ImportGlobalVars

Imports Global Parameters from XML file

Warning: Current global parameters with same names will be replaced!

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.ImportGlobalVars ( 
	String Path, 
	Boolean Overwrite [Optional]
)

ZAP Utility

Zap.ImportG...Vars

C:\Variables.xml

false

Path

Boolean Overwrite

Parameters

Path

Type: String

Path to the Global Variables

Overwrite (optional)

Type: Boolean

Default value: false

Option to overwrite all variables

Returns

No return value

Example

VBScript

Zap.ImportGlobalVars "C:\Temp\GlobalVariables.xml", true

JavaScript

Zap.ImportGlobalVars("C:\\Temp\\GlobalVariables.xml", true);

Comment

Import global variables from file "C:\Variables.xml"

ZAP Utility

Zap.ImportG...Vars

C:\Variables.xml

Comment

Overwrite all variables

ZAP Utility

Zap.ImportG...Vars

C:\Variables.xml

true

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227