LoadTemplateParametersFromApp
Loads audit test execution parameters from file associated with app.
Compatibility
Available as of IDEA version 12.0
Syntax
LoadTemplateParametersFromApp(appId As String)
Parameters
appId
ID (Guid) of the app
Remarks
The method assumes that the app has associated PARAMS file.
Execution parameters loaded via LoadTemplateParametersFromApp() 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
appId = "7db56ab-3e21-b5d3-e234-ac74a656d041"
atId = "9a2bf818-b54c-562f-b85b-dbaca6ead039"
tblName = "Sample-Weblog"
Set ac = CreateObject("SmartAnalyzer.AutomationClient")
ac.LoadTemplateParametersFromApp(appId)
' Here, parameters loaded previously are applied to audit test execution
Set atExecutor = ac.GetAtExecutor(atId, tblName)
atExecutor.Execute
. . .
End Sub