SysTest::invoke Method [AX 2012]

Invokes the specified method on the object.


client server public static anytype invoke(
    Object _object, 
    str _method, 
   [anytype _optional])

Run On



  • _object
    Type: Object Class
    The object that the method will be invoked on.
  • _method
    Type: str
    The method that will be invoked.
  • _optional
    Type: anytype
    The parameter that is used when a parameter is required for a method; optional.

Return Value

Type: anytype
The call to the object.

See Also

SysTest Class

SysTestCase Class

SysTestSuite Class

Unit Test Framework

Walkthrough: Testing a Class Using the Unit Test Framework