Codeunit "AIT AL Test Suite Mgt"
Properties
| Name | Value |
|---|---|
| Permissions | tabledata "Test Method Line" = rmid, tabledata "AL Test Suite" = rmid |
Methods
GetTestOutputAsJson
procedure GetTestOutputAsJson(var AITLogEntry: Record "AIT Log Entry"): JsonArray
Parameters
| Name | Type | Description |
|---|---|---|
| AITLogEntry | Table System.TestTools.AITestToolkit."AIT Log Entry" |
Returns
| Type | Description |
|---|---|
| JsonArray |
ImportTestInputs
Import the Test Input Dataset from an InStream of a dataset in a supported format. Overwrite the dataset if the dataset with same filename is already imported by the same app Error if the dataset with the same filename is created by a different app
procedure ImportTestInputs(DatasetFileName: Text, var DatasetInStream: InStream)
Parameters
| Name | Type | Description |
|---|---|---|
| DatasetFileName | Text |
The file name of the dataset file which will be used in the description of the dataset. |
| DatasetInStream | InStream |
The InStream of the dataset file. |
ImportTestInputs
Import the Test Input Dataset from an InStream of a dataset in a supported format with a specific language. Overwrite the dataset if the dataset with same filename is already imported by the same app Error if the dataset with the same filename is created by a different app
procedure ImportTestInputs(DatasetFileName: Text, var DatasetInStream: InStream, LanguageID: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| DatasetFileName | Text |
The file name of the dataset file which will be used in the description of the dataset. |
| DatasetInStream | InStream |
The InStream of the dataset file. |
| LanguageID | Integer |
The language ID to use for the dataset import. |
ImportTestInputs
Import the Test Input Dataset from an InStream of a dataset in a supported format with a specific language. Overwrite the dataset if the dataset with same filename is already imported by the same app Error if the dataset with the same filename is created by a different app
procedure ImportTestInputs(DatasetFileName: Text, var DatasetInStream: InStream, LanguageID: Integer, GroupName: Text)
Parameters
| Name | Type | Description |
|---|---|---|
| DatasetFileName | Text |
The file name of the dataset file which will be used in the description of the dataset. |
| DatasetInStream | InStream |
The InStream of the dataset file. |
| LanguageID | Integer |
The language ID to use for the dataset import. |
| GroupName | Text |
The file name of the dataset file which will be used in the description of the dataset. |
ImportAITestSuite
Import the AI Test Suite using InStream of the XML file. Use this to import XML from resource files during installation of the test app. Skip if the same suite is already imported by the same app Error if the same suite is already imported with a different XML Error if the same suite is already imported by a different app
procedure ImportAITestSuite(var XMLSetupInStream: InStream)
Parameters
| Name | Type | Description |
|---|---|---|
| XMLSetupInStream | InStream |
The InStream of the test suite XML file. |