diff --git a/MAUI/Autocomplete/Basic-Features.md b/MAUI/Autocomplete/Basic-Features.md index e64eb8ccc2..83afc1059b 100644 --- a/MAUI/Autocomplete/Basic-Features.md +++ b/MAUI/Autocomplete/Basic-Features.md @@ -41,3 +41,13 @@ The following image illustrates the output: ## Text The [Text](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Inputs.DropDownControls.DropDownListBase.html#Syncfusion_Maui_Inputs_DropDownControls_DropDownListBase_Text) property is used to get the user-submitted text in the [SfAutocomplete](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Inputs.SfAutocomplete.html). The default value of the `Text` property is `string.Empty`. + +## Automation ID + +The [SfAutocomplete](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Inputs.SfAutocomplete.html) control provides `AutomationId` support specifically for the `editable entry` and the `clear button`, enabling UI automation frameworks to reliably target these two elements. Each element’s AutomationId is derived from the control’s `AutomationId` to ensure uniqueness. + +For example, if the SfAutocomplete’s `AutomationId` is set to “Employee Autocomplete,” the editable entry can be targeted as “Employee Autocomplete Entry” and the clear button as “Employee Autocomplete Clear Button.” This focused support improves accessibility and automated UI testing by providing stable, predictable identifiers for the primary interactive elements + +The following screenshot illustrates the AutomationIds of inner elements. + +![.NET MAUI Autocomplete AutomationId Image demonstration](Images/GettingStarted/AutoComplete_AutomationID.png) \ No newline at end of file diff --git a/MAUI/Autocomplete/Images/GettingStarted/AutoComplete_AutomationID.png b/MAUI/Autocomplete/Images/GettingStarted/AutoComplete_AutomationID.png new file mode 100644 index 0000000000..0366685714 Binary files /dev/null and b/MAUI/Autocomplete/Images/GettingStarted/AutoComplete_AutomationID.png differ diff --git a/MAUI/ComboBox/Images/UICustomization/ComboBox_AutomationID.png b/MAUI/ComboBox/Images/UICustomization/ComboBox_AutomationID.png new file mode 100644 index 0000000000..c2d91e4da8 Binary files /dev/null and b/MAUI/ComboBox/Images/UICustomization/ComboBox_AutomationID.png differ diff --git a/MAUI/ComboBox/UI-Customization.md b/MAUI/ComboBox/UI-Customization.md index b5b75c5530..8c91ad1fb0 100644 --- a/MAUI/ComboBox/UI-Customization.md +++ b/MAUI/ComboBox/UI-Customization.md @@ -1749,3 +1749,13 @@ public SocialMediaViewModel {% endhighlight %} {% endtabs %} + +## Automation ID + +Support for `AutomationId` has been added to the [SfComboBox](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Inputs.SfComboBox.html) control, allowing UI automation frameworks to reliably target the `editable entry`, `the clear button`, and `the dropdown button`. Each element’s AutomationId is derived from the control’s AutomationId to ensure uniqueness across your application. + +For example, if the SfComboBox’s `AutomationId` is set to “Employee ComboBox,” the editable entry can be targeted as “Employee ComboBox Entry,” the clear button as “Employee ComboBox Clear Button,” and the dropdown button as “Employee ComboBox Dropdown Button.” This focused support provides stable, predictable identifiers for the primary interactive elements, improving accessibility and automated UI testing + +The following screenshot illustrates the AutomationIds of inner elements. + +![.NET MAUI ComboBox AutomationId Image demonstration](Images/UICustomization/ComboBox_AutomationID.png) \ No newline at end of file diff --git a/MAUI/Masked-Entry/Basic-Features.md b/MAUI/Masked-Entry/Basic-Features.md index a75a3748d9..e090c8e8b8 100644 --- a/MAUI/Masked-Entry/Basic-Features.md +++ b/MAUI/Masked-Entry/Basic-Features.md @@ -485,4 +485,16 @@ public class CommandDemoViewModel } {% endhighlight %} -{% endtabs %} \ No newline at end of file +{% endtabs %} + +## Automation ID + +Support for `AutomationId` has been added to the [SfMaskedEntry](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Inputs.SfMaskedEntry.html) control, enabling UI automation frameworks to reliably target the `editable entry` and the `clear button`. + + Each element’s `AutomationId` is derived from the control’s AutomationId to ensure uniqueness. For example, if the SfMaskedEntry’s AutomationId is set to “Employee Masked Entry,” the editable entry can be targeted as “Employee Masked Entry Entry” and the clear button as “Employee Masked Entry Clear Button.” + + This focused support provides stable, predictable identifiers for the primary interactive elements, improving accessibility and automated UI testing. + + The following screenshot illustrates the AutomationIds of inner elements. + +![.NET MAUI MaskedEntry AutomationId Image demonstration](MaskedEntry_Images/MakedEntry_AutomationID.png) \ No newline at end of file diff --git a/MAUI/Masked-Entry/MaskedEntry_Images/MakedEntry_AutomationID.png b/MAUI/Masked-Entry/MaskedEntry_Images/MakedEntry_AutomationID.png new file mode 100644 index 0000000000..6508250657 Binary files /dev/null and b/MAUI/Masked-Entry/MaskedEntry_Images/MakedEntry_AutomationID.png differ diff --git a/MAUI/NumericEntry/Basic-Features.md b/MAUI/NumericEntry/Basic-Features.md index 423e1b205d..06e03cd028 100644 --- a/MAUI/NumericEntry/Basic-Features.md +++ b/MAUI/NumericEntry/Basic-Features.md @@ -419,4 +419,16 @@ public class CommandDemoViewModel } {% endhighlight %} -{% endtabs %} \ No newline at end of file +{% endtabs %} + +## Automation ID + +Support for `AutomationId` has been added to the [SfNumericEntry](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Inputs.SfNumericEntry.html) control, enabling UI automation frameworks to reliably target the `editable entry` and the `clear button`. Each element’s AutomationId is derived from the control’s AutomationId to ensure uniqueness. + +For example, if the SfNumericEntry’s `AutomationId` is set to “Employee Numeric Entry,” the editable entry can be targeted as “Employee Numeric Entry Entry” and the clear button as “Employee Numeric Entry Clear Button.” + +This focused support provides stable, predictable identifiers for the primary interactive elements, improving accessibility and automated UI testing. + +The following screenshot illustrates the AutomationIds of inner elements. + +![.NET MAUI NumeriEntry AutomationId Image demonstration](GettingStarted_images/NumericEntry_AutomationID.png) \ No newline at end of file diff --git a/MAUI/NumericEntry/GettingStarted_images/NumericEntry_AutomationID.png b/MAUI/NumericEntry/GettingStarted_images/NumericEntry_AutomationID.png new file mode 100644 index 0000000000..156d845678 Binary files /dev/null and b/MAUI/NumericEntry/GettingStarted_images/NumericEntry_AutomationID.png differ