MTA MCP Tools
This is a list of all available MCP Tools in MTA.
info
This file is AI generated.
AddTestCaseVariationItem
- Description: Enables data variations on a test case or includes a test step attribute, parameter, or assertion object as a variation item in the test case data variation matrix.
- Prerequisites:
TestCaseKeymust exist when enabling variations, orObjectKeymust exist for the specified variation item type. - Returns: Confirmation status string on success or an error message string.
AddTestSuiteVariationItem
- Description: Enables data variations on a test suite or includes a test step attribute, parameter, or assertion object as a variation item in the test suite data variation matrix.
- Prerequisites:
TestSuiteKeymust exist when enabling variations, orObjectKeymust exist for the specified variation item type. - Returns: Confirmation status string on success or an error message string.
CreateAssertAttributeValueCompare
- Description: Creates an
AssertAttributeValueCompareentity on an Object Action test step for a specified attribute. - Prerequisites:
TestStepKeyandAttributeNamemust be provided, target test step must be an Object Action step (Create, Change, or Retrieve Object), attribute must exist on entity, assertion must not already exist, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"Assert attribute value compare has been created for teststep"on success, or an error message string.
CreateAssertException
- Description: Creates an exception assertion on a specified test step to verify runtime exception behavior.
- Prerequisites:
TestStepKeymust exist, test step must not already have an exception assertion, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"Assert exception has been created for teststep"on success, or an error message string.
CreateAssertMicroflowReturnValue
- Description: Creates a Microflow Return Value assertion on a Microflow Call test step.
- Prerequisites:
TestStepKey,ComparisonOperator, andActionFailedAssertmust be provided, target test step must call a microflow that returns a primitive literal value, assertion must not already exist, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"Assert microflow return value compare has been created"on success, or an error message string.
CreateAssertObjectCount
- Description: Creates an object count assertion on a specified test step to verify the number of returned or manipulated objects.
- Prerequisites:
TestStepKeymust exist, object count assertions must be allowed on the test step type, the test step must not already have an object count assertion, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"Assert object count has been created for teststep"on success, or an error message string.
CreateAssertValidationFeedbackMessageCompare
- Description: Creates an assertion on a test case to compare validation feedback messages on a target entity attribute or association.
- Prerequisites:
TestCaseKey,ModuleName, andEntityNamemust exist in the application revision, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"Assert validation feedback message compare has been created for test case"on success, or an error message string.
CreateAssertValidationFeedbackMessageCount
- Description: Creates an assertion on a test case to verify the total count of validation feedback messages.
- Prerequisites:
TestCaseKeymust exist and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"Assert validation feedback message count has been created for test case"on success, or an error message string.
CreateExecutionUser
- Description: Creates a new execution user for a specified application and test configuration.
- Prerequisites:
ApplicationKeyandTestConfigurationKeymust exist,TestConfigurationmust be unlocked, andUsernamemust be non-empty. - Returns: String formatted as
"ExecutionUserKey: <Key>"on success, or an error message string.
CreateMicroflowCallTestStep
- Description: Creates a microflow call test step within a specified test case to execute a backend microflow.
- Prerequisites:
TestCaseKeymust exist,MicroflowQualifiedNamemust exist in the application revision model, and parentTestConfigurationmust be unlocked. - Returns: String formatted as
"Teststep key: <Key>"on success, or an error message string.
CreateObjectActionTestStep
- Description: Creates an object action test step (Create, Change, Retrieve, Delete, or Persist object) within a specified test case.
- Prerequisites:
TestCaseKeymust exist,ObjectActionandTestStepNamemust be provided,EntityQualifiedNamemust exist in model (if required by action),TestStepOutputKeymust exist (for Change/Delete actions), and parentTestConfigurationmust be unlocked. - Returns: String formatted as
"Teststep key: <Key>"on success, or an error message string.
CreateSelectObjectForAssociation
- Description: Creates a
SelectObjectForAssociationentity on an Object Action test step to enable setting, adding, removing, or clearing association values. - Prerequisites:
TestStepKeyandAssociationQualifiedNamemust be provided, target test step must support associations (Create, Change, or Retrieve Object), association must exist in model, and parentTestConfigurationmust be unlocked. - Returns: JSON string containing details and key of the created
SelectObjectForAssociationentity on success, or an error message string.
CreateTestCase
- Description: Creates a new test case within a specified test suite.
- Prerequisites:
TestSuiteKey,ApplicationKey, andExecutionUserKeymust exist, parentTestConfigurationmust be unlocked, andTestCaseNamemust be non-empty. - Returns: String formatted as
"TestCaseKey: <Key>"on success, or an error message string.
CreateTestCaseVariation
- Description: Creates a new data variation column for a specified test case by duplicating the baseline variation structure with empty values.
- Prerequisites:
TestCaseKeymust exist, have data variations enabled, and its parentTestConfigurationmust be unlocked. - Returns: Confirmation string indicating the created variation key on success, or an error message string if creation fails.
CreateTestSuite
- Description: Creates a new test suite in a specified test configuration.
- Prerequisites:
TestConfigurationKeymust exist,TestConfigurationmust be unlocked,ApplicationRevisionsmust be loaded, andNamemust be non-empty. - Returns: String formatted as
"TestSuiteKey: <Key>"on success, or an error message string.
CreateTestSuiteVariation
- Description: Creates a new data variation column for a specified test suite by duplicating the baseline variation structure with empty values.
- Prerequisites:
TestSuiteKeymust exist, have data variations enabled, and its parentTestConfigurationmust be unlocked. - Returns: Confirmation string indicating the created variation key on success, or an error message string if creation fails.
EditAssertAttributeValueCompare
- Description: Edits expected values and comparison operators for an
AssertAttributeValueCompareentity (Boolean, AutoNumber, DateTime, Decimal, Enumeration, HashString, Integer, Long, String, Range, or TrimString). - Prerequisites:
AssertAttributeValueCompareKeymust exist and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The Assert attribute value compare has been edited"on success, or an error message string.
EditAssertException
- Description: Edits assertion condition (expecting exception vs. expecting success) and failure handling behavior on an existing exception assertion.
- Prerequisites:
AssertExceptionKeymust exist and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The Assert exception has been edited"on success, or an error message string.
EditAssertMicroflowReturnValueCompare
- Description: Edits comparison conditions, operators, and expected values on an existing Microflow Return Value assertion.
- Prerequisites:
AssertMicroflowReturnValueKeymust exist, parentTestConfigurationmust be unlocked, and operators and values must match the return type. - Returns: Confirmation string
"The Assert microflow return value compare has been edited"on success, or an error message string.
EditAssertObjectCount
- Description: Edits the operator and expected count value on an existing Object Count assertion.
- Prerequisites:
AssertObjectCountKeymust exist,ComparisonOperatormust be valid,Countmust be non-negative, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The Assert object count has been edited"on success, or an error message string.
EditAssertValidationFeedbackMessageCompare
- Description: Edits the expected message text, comparison operator, or error action on an existing validation feedback message comparison assertion.
- Prerequisites:
AssertValidationFeedbackMessageCompareKeymust exist, parentTestConfigurationmust be unlocked, andComparisonOperatormust be valid. - Returns: Confirmation string
"The Assert validation feedback message compare has been edited"on success, or an error message string.
EditAssertValidationFeedbackMessageCount
- Description: Edits the comparison operator and expected message count on an existing validation feedback message count assertion.
- Prerequisites:
AssertValidationFeedbackMessageCountKeymust exist,ComparisonOperatormust be valid,Countmust be non-negative, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The Assert validation feedback message count has been edited"on success, or an error message string.
EditAttributeValue
- Description: Configures attribute values across data types (String, Integer, Decimal, Boolean, DateTime, Enumeration, AutoNumber, etc.) for Create or Change Object test steps.
- Prerequisites:
TestStepKeyandAttributeNamemust exist, target step must be Create or Change Object, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The Attribute value has been edited"on success, or an error message string.
EditAttributeValueFilter
- Description: Edits attribute filter conditions on a Retrieve Object test step.
- Prerequisites:
TestStepKeyandAttributeNamemust exist on the retrieved entity, target step must be Retrieve Object, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The Attribute value filter has been edited"on success, or an error message string.
EditExecutionUser
- Description: Edits properties of an existing execution user (username, password, active status, or user roles).
- Prerequisites:
ExecutionUserKeymust exist and parentTestConfigurationmust be unlocked. - Returns: String formatted as
"ExecutionUserKey: <Key>"on success, or an error message string.
EditMicroflowObjectParameter
- Description: Binds a prior test step's output object/list to an object-type input parameter of a microflow call test step.
- Prerequisites:
TestStepKeyandParameterNamemust exist on target step, parameter must be an object/list type, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The Microflow Object parameter has been edited"on success, or an error message string.
EditMicroflowParameterValue
- Description: Configures literal values for primitive/enumeration parameters on a Microflow Call test step.
- Prerequisites:
TestStepKeyandParameterNamemust exist on target step, parameter must be a primitive or enumeration type, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The Microflow parameter value has been edited"on success, or an error message string.
EditTestCase
- Description: Edits properties of an existing test case (name, active flag, continue on error, rollback transaction, execution user, or security role).
- Prerequisites:
TestCaseKeymust exist and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The Test case has been edited"on success, or an error message string.
EditTestCaseVariation
- Description: Edits cell values within a test case variation matrix by mapping item keys to their new string representation values.
- Prerequisites:
TestCaseVariationKeymust exist, parentTestConfigurationmust be unlocked, and providedVariationItemKeys must be part of the test case variation model. - Returns: Confirmation string
"The variation value has been edited"on success, or an error message string.
EditTestStep
- Description: Edits general configuration properties of an existing test step (name, active status, or continue on error).
- Prerequisites:
TestStepKeymust exist, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The teststep has been edited"on success, or an error message string.
EditTestStepAssociation
- Description: Configures association behavior (action type, target output step binding, or clear flag) on an Object Action test step.
- Prerequisites:
SelectObjectForAssociationKeymust exist, provided association action must be valid, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The Association has been edited"on success, or an error message string.
EditTestStepRetrieve
- Description: Edits the retrieve action settings (range, limit, offset, sorting attribute, sorting direction, or XPath constraint) for a Retrieve Object test step.
- Prerequisites:
TestStepKeymust exist, target step must be a Retrieve Object step, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The Retrieve test step has been edited"on success, or an error message string.
EditTestSuite
- Description: Edits properties of an existing test suite (name, enabled status, or continue on error).
- Prerequisites:
TestSuiteKeymust exist, parentTestConfigurationmust be unlocked, andNamemust be non-empty if provided. - Returns: Confirmation string
"The Test suite has been edited"on success, or an error message string.
EditTestSuiteVariation
- Description: Edits cell values within a test suite variation matrix by mapping item keys to their new string representation values.
- Prerequisites:
TestSuiteVariationKeymust exist, parentTestConfigurationmust be unlocked, and providedVariationItemKeys must be part of the test suite variation model. - Returns: Confirmation string
"The variation value has been edited"on success, or an error message string.
ExecuteTest
- Description: Triggers execution of a test run for a specific test suite or test case within a test configuration.
- Prerequisites:
TestConfigurationKeymust exist,ExecuteActionmust be valid, targetTestSuiteKeyorTestCaseKeymust exist,TargetExecutionUrlmust be non-empty, and eitherExecutionUserKeyorUsername&Passwordmust be provided. - Returns: JSON string with execution confirmation, run ID, and initial status, or an error message string.
GenerateMicroflowCallTestStepLocatePage
- Description: Generates a "Locate Mendix Page" microflow call test step within a test case to locate a specific Mendix UI page by its qualified name and CSS class during Playwright frontend testing.
- Prerequisites:
TestCaseKeymust exist,PageQualifiedNameandPageClassNamemust match a page in the application revision model, and parentTestConfigurationmust be unlocked. - Returns: JSON string containing the generated test step details or an error message string.
GenerateMicroflowCallTestStepLocateWidget
- Description: Generates a "Locate Widget" microflow call test step within a test case to locate a specific UI widget during Playwright frontend testing.
- Prerequisites:
TestCaseKeymust exist. When the widget form type is non-global,PageQualifiedName,PageClassName, andWidgetNamemust match a unique widget on the page in the application revision model. - Returns: JSON string containing the generated test step details or an error message string.
GetAppModelData
- Description: [READ-ONLY] Retrieves Mendix app model metadata (entities, microflows, pages, and widgets) synchronized with MTA for a given application and test configuration.
- Prerequisites:
TestConfigurationKeyandApplicationKeymust exist and be active. Depending onRetrieveAction:PageQualifiedName(forRetrieveWidgetsByPage),EntityQualifiedName(forRetrieveEntityByApplicationAndTestConfiguration),MicroflowQualifiedName(forRetrieveMicroflowByApplicationAndTestConfiguration), orEnumerationQualifiedName(forRetrieveEnumerationByApplicationAndTestConfiguration) must be provided. - Returns: JSON array/object containing page definitions or widget structures, or an error message string if retrieval fails.
GetApplicationDetails
- Description: [READ-ONLY] Retrieves application details by application name or Mendix project ID (
AppId). - Prerequisites: Either
ApplicationNameorAppIdmust be provided. - Returns: JSON string containing application details or an error message string.
GetExecutionUsers
- Description: [READ-ONLY] Retrieves execution users associated with a specific test configuration and application.
- Prerequisites:
TestConfigurationKeyandApplicationKeymust exist, andTestConfigurationmust be active. - Returns: JSON string containing the list of execution users or an error message string.
GetTestCaseDetails
- Description: Retrieves full details, specifications, and execution settings for a specified test case.
- Prerequisites:
TestCaseKeymust exist. - Returns: JSON object string containing test case properties (name, objective, preconditions, expected result, security, execution settings), or an error message string if retrieval fails.
GetTestConfigurationDetails
- Description: Retrieves complete details, settings, and metadata of a specified test configuration.
- Prerequisites:
TestConfigurationKeymust exist, and theTestConfigurationmust be active and unlocked. - Returns: JSON object string containing test configuration specifications and properties, or an error message string if retrieval fails.
GetTestRunResults
- Description: Retrieves execution status, logs, and detailed results for a completed or running test run by its execution ID.
- Prerequisites:
TestRunExecutionIdmust exist and be valid. - Returns: JSON object string containing test run status, assertion outcomes, step execution logs, or an error message string if retrieval fails.
GetTestSuiteDetails
- Description: [READ-ONLY] Retrieves the full details of a specific test suite by its key.
- Prerequisites:
TestSuiteKeymust exist and parentTestConfigurationmust be unlocked. - Returns: JSON string containing test suite details or an error message string.
GetTeststepDetails
- Description: Retrieves detailed configuration and parameters of a specified test step, dynamically resolving Object Actions (Create, Change, Retrieve, Delete, Persist) and Microflow Call definitions.
- Prerequisites:
TestStepKeymust exist, and the encompassingTestConfigurationmust be unlocked. - Returns: JSON object string containing complete test step parameters and associations, or an error message string if retrieval fails.
MoveTestStepToOtherTestCase
- Description: Moves a specified test step from its current test case to a target test case within the same test suite.
- Prerequisites:
TestStepKeyandTargetTestCaseKeymust exist, target test case must be a valid candidate, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The teststep is moved to the target test case"on success, or an error message string.
SetSequenceOfTestCase
- Description: Reorders a test case within its test suite by placing it after the specified test case before (
TestCaseBeforeKey). - Prerequisites:
TestCaseKeymust exist, parentTestConfigurationmust be unlocked, andTestCaseBeforeKey(if provided) must belong to the sameTestSuite. IfTestCaseBeforeKeyis empty or0, the test case is placed first. - Returns: Confirmation string
"The sequence is set for test case"on success, or an error message string.
SetSequenceOfTestStep
- Description: Sets the execution order of a test step within its test case by placing it directly after the existing step specified by
TestStepBeforeKey(or first if0). - Prerequisites:
TestStepKeymust exist,TestStepBeforeKeymust be0or exist within the same test case, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"The sequence is set for teststep"on success, or an error message string.
SetSequenceOfTestSuite
- Description: Reorders a test suite within its test configuration by placing it after the specified test suite before (
TestSuiteBeforeKey). - Prerequisites:
TestSuiteKeymust exist, parentTestConfigurationmust be unlocked, andTestSuiteBeforeKey(if provided) must belong to the sameTestConfiguration. IfTestSuiteBeforeKeyis empty or0, the test suite is placed first. - Returns: Confirmation string
"The sequence is set for test suit"on success, or an error message string.
SetTestStepOutputForSelectObjectForChange
- Description: Binds a prior test step output as the target object to be modified by a Change Object test step.
- Prerequisites:
SelectObjectForChangeKeyandTestStepOutputKeymust exist, the output step must output a compatible entity type, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"TeststepOutput has been set for SelectObjectForChange"on success, or an error message string.
SetTestStepOutputForSelectObjectForDelete
- Description: Binds a prior test step output as the target object to be removed by a Delete Object test step.
- Prerequisites:
SelectObjectForDeleteKeyandTestStepOutputKeymust exist, the output step must output a compatible entity type, and parentTestConfigurationmust be unlocked. - Returns: Confirmation string
"TeststepOutput has been set for SelectObjectForDelete"on success, or an error message string.