LoadTemplateParametersFromFile
Loads audit test execution parameters from file.
Compatibility
Available as of IDEA version 12.0
Syntax
LoadTemplateParametersFromFile(filePath As String)
Parameters
filePath
Path to PARAMS file
Remarks
Execution parameters loaded via LoadTemplateParametersFromFile method are used later for instantiating the Audit Test Executor object via GetAtExecutor() method so that the latter applies these parameters when executing the audit tests.
Example
Sub Main()
Dim ac As Object
Dim atExecutor
atId = "9a2bf818-b54c-562f-b85b-dbaca6ead039"
tblName = "Sample-Weblog"
Set ac = CreateObject("SmartAnalyzer.AutomationClient")
ac.LoadTemplateParametersFromFile("c:\Data\Parameters\MyTest.params")
' Here, parameters loaded previously are applied to audit test execution
Set atExecutor = ac.GetAtExecutor(atId, tblName)
atExecutor.Execute
. . .
End Sub