Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension of UIA capabilities (support for more controls) #10143

Open
pfeigl opened this issue Jan 31, 2023 · 3 comments
Open

Extension of UIA capabilities (support for more controls) #10143

pfeigl opened this issue Jan 31, 2023 · 3 comments
Assignees
Labels
area-accessibility area-focus enhancement help-wanted A contribution from the community would be most welcome.

Comments

@pfeigl
Copy link

pfeigl commented Jan 31, 2023

Is your feature request related to a problem? Please describe.
With #5177 a MVP has been added to support UIA.
Are there any plans to drive this any further in the forseeable future? I was playing around with it a little today and realized that even basic controls like Label (which should be very similar to TextBlock) are missing right now.

Another control that would be really intereseting for automated testing is the DataGrid. This is probably our main focus when testing applications and checking whether displayed data is as expected.

Describe the solution you'd like
I'd love to see more controls supported.

Describe alternatives you've considered
There is obviously completely different approaches to test the UI as described in https://dev.to/ingvarx/how-to-automate-ui-testing-in-avaloniaui-app-4an4 , but we'd really like to stick to our existing toolset (Ranorex in this case) to implement our tests.

@maxkatz6 maxkatz6 added area-accessibility help-wanted A contribution from the community would be most welcome. labels Jan 31, 2023
@maxkatz6
Copy link
Member

Are there any plans to drive this any further in the forseeable future?

I don't think any work from the core team is planned for the 11.0 release.
But since framework support was done already, more controls can be updated to support it and bugs can be fixed. So, any help will be appreciated.

I have created this label for related issues, so it can be tracked easier.
area-accessibility

CC @grokys

@maxkatz6
Copy link
Member

There is obviously completely different approaches to test the UI as described in https://dev.to/ingvarx/how-to-automate-ui-testing-in-avaloniaui-app-4an4 , but we'd really like to stick to our existing toolset (Ranorex in this case) to implement our tests.

This topic explains Headless testing approach, which we can recommend for unit and e2e testing. As it's fairly more stable than existing automation-based tooling (at least comparing to our Appium experience) and can run anywhere, but on other hand it doesn't allow to test anything platform specific.
Also, you are right, it can't be compared with some more advanced toolsets.

@grokys
Copy link
Member

grokys commented Feb 3, 2023

Actually, I do have some work nearly ready to add support for ITextProvider on Windows; just need to complete the implementation for macOS.

We've been getting quite a few requests for a11y/automation support recently so hopefully we'll be filling in the gaps in the coming months. Controls like Label should be trivial to implement (though I'd wait for the ITextProvider API) so we should start with these.

DataGrid is going to take a bit more work...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-accessibility area-focus enhancement help-wanted A contribution from the community would be most welcome.
Projects
None yet
Development

No branches or pull requests

4 participants