GetAtExecutor
Returns a new instance of Audit Test Executor component.
Compatibility
Available as of IDEA version 12.0
Syntax
GetAtExecutor(tableName As String) As Object
Parameters
tableName
Name of IDEA table. The name is considered as relative to IDEA current project.
Return Value
New instance of Audit Test Executor component based on the association between the current audit test and the specified IDEA table
Example
Sub Main()
Dim ac As Object
Dim at As Object
Set ac = CreateObject("SmartAnalyzer.AutomationClient")
atId = "9a2bf818-b54c-562f-b85b-dbaca6ead039"
tblName = "Sample-Weblog"
Set at = SA.GetAt(atId)
Set atExecutor = at.GetAtExecutor(tblName)
canExecute = atExecutor.CanExecute
IF canExecute = 0 THEN
atExecutor.Execute
END IF
End Sub