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

Add custom automation peer for various controls #647

Open
16 of 20 tasks
batzen opened this issue Oct 6, 2018 · 6 comments
Open
16 of 20 tasks

Add custom automation peer for various controls #647

batzen opened this issue Oct 6, 2018 · 6 comments
Assignees
Milestone

Comments

@batzen
Copy link
Member

batzen commented Oct 6, 2018

The following controls should provide a custom automation peer:

  • Button
  • DropDownButton
  • SplitButton
  • CheckBox
  • InRibbonGallery
  • ScreenTip
  • Backstage
  • BackstageTabControl
  • BackstageTabItem
  • StartScreen
  • ComboBox
  • Ribbon
  • RibbonGroupBox
  • RibbonTabControl
  • RibbonTabItem
  • RadioButton
  • Spinner
  • TextBox
  • ToggleButton
  • TwoLineLabel
@batzen batzen added this to the 7.0.0 milestone Oct 6, 2018
@batzen batzen self-assigned this Oct 6, 2018
@batzen batzen added this to To do in Screen reader support via automation Oct 6, 2018
@batzen batzen changed the title Add custom automation peer for DropDownButton Add custom automation peer for various controls Nov 10, 2018
batzen added a commit that referenced this issue Nov 12, 2018
batzen added a commit that referenced this issue Nov 12, 2018
batzen added a commit that referenced this issue Nov 12, 2018
batzen added a commit that referenced this issue Nov 25, 2018
batzen added a commit that referenced this issue Dec 3, 2018
@batzen batzen modified the milestones: 7.0.0, Next Feb 6, 2019
@batzen
Copy link
Member Author

batzen commented Jan 14, 2020

#768 for reference

@dipts
Copy link

dipts commented Apr 21, 2020

I'm using UIAutomation for regression testing, for this I need access to the toggle state of a ToggleButton. With version 7.1 there is no Button-Interface with TogglePattern anymore. The only interface exposed to UIA is the DataItem with an Image.

I don't know the correct way, if there should be a Button beside the Image below the DataItem, or if DataItem should expose a TogglePattern.

@batzen
Copy link
Member Author

batzen commented Apr 22, 2020

That's of course not the intended behavior.
I am also no expert in writing automation peers, but as there was no feedback during the preview versions I thought everything was fine.
Will have a look at this right now.

@batzen
Copy link
Member Author

batzen commented Apr 22, 2020

@dipts should be fixed in the latest CI-build

@dipts
Copy link

dipts commented Apr 22, 2020

@batzen Works perfectly now. Thank you very much!

@batzen
Copy link
Member Author

batzen commented Apr 22, 2020

If you find any more issues please report them. As I don't have any disabilities and don't rely on automation peers for ui tests (wrote my own custom framework) it's quite difficult to get everything right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants