SysTestAssert.convert2str Method [AX 2012]
Converts an anytype value into a string value.
Syntax
private str convert2str(anytype _value)
Run On
Called
Parameters
- _value
Type: anytype
The value that will be converted to a string.
Return Value
Type: str
The anytype value as a string.
Remarks
To use this method, create a class that extends the SysTestCase class and then add a method to provide your test logic. For an example of how to use an assertion method, see How to: Create a Test Case. Examples of types that can be converted to a string include a date, enumeration, integer, GUID, real number, date and time, time, container, or a class.