Not able to fetch the text attribute for SfButton using Appium(Automation tool))

We have recently migrated our application from Xamarin to MAUI. We are currently using the SFButton control in our application at multiple places.

When trying to fetch the text attribute for this control using APPIUM for automation testing we are not receiving that. When we replaced the  SFButton with MAUI button control all the data can be successfully fetched.


5 Replies

HC Hariharan Chokkalingam Syncfusion Team September 4, 2024 08:17 AM UTC

Hi manish.kumar,


Thank you for reaching out to us.  Currently, we do not have support for testing with Appium as it requires an Automation ID, so we have already created a feature request to "Provide AutomationId support for .NET MAUI SfButton". Please find the link below to track the status of the feature implementation.


Feedback link: Feedback - 53317


Please cast your vote to make it count. We will prioritize the features every release based on the demands, and we do not have an immediate plan to implement this feature since we have committed to already planned work. So, this feature will be available in any of our upcoming releases.


If you have any more specifications/suggestions for the feature request, you can add them as a comment in the portal. We will share the release details in the feedback itself.


Regards,

Hariharan.



MA manish.kumar September 5, 2024 02:48 PM UTC

Hello Hariharan


Is there any ETA for this



KG Kalpana Ganesan Syncfusion Team September 6, 2024 08:17 AM UTC

Hi Manish,

Sorry for the inconvenience. There is no set timeline for feature implementations. Decisions regarding feature implementation are influenced by several factors, such as the feature's priority, the number of customer requests, and the overall volume of the wish-list. You can also communicate with us regarding the open features any time using the “Contact” option.

Regards,

Kalpana.




MA manish.kumar September 12, 2024 06:56 PM UTC

Hello Hariharan


The feature link that you have share is for the including the AutomationId, but that is not really the requirement for us.


We are not able to fetch the text written on the Button. Earlier in Xamarin we were getting the text field which is now Missing.



HC Hariharan Chokkalingam Syncfusion Team September 13, 2024 02:17 PM UTC

Hi Manish,

 

Thank you for reaching out. The issue with retrieving the text from the SfButton using Appium stems from the current lack of AutomationId support in the SfButton for .NET MAUI. Appium relies on Automation Id to fetch attributes like text, and it will be able to access the text once AutomationId support is enabled.

 

We have already submitted a feature request to add AutomationId support for SfButton. You can track the status of this request and vote for it here: Feedback Link - Feedback - 53317.

 

Regards,

Hariharan.


Loader.
Up arrow icon