0

I'm trying to test user interface of WinForms application that contains DotNetBar components (ButtonItem, i.e.). But i can't get access to inherited elements. ComboBox in the ButtonItem. I've tried Teststack.White and FlaUI tests. Coded UI can't even catch any action because i use Win 10 Creators Update.

xaml
  • 172
  • 9
  • You would need to check if the UI widgets are identifiable using standard tools like Inspect.exe, FlaUInspect or UISpy. – Ashish Narmen Sep 07 '17 at 07:23
  • @Ashish, i've checked it by VisualUIAVerifyNative. I found only a button there, but it also should contains a combobox (ButtonItem). – xaml Sep 22 '17 at 10:55

1 Answers1

2

It's possible that the DotNetBar does not correctly implement the UIA providers and therefore tools like FlaUI or White and Coded UI do not see the correct controls. Make sure that neither UIA2 nor UIA3 can show the nested elements (best is with FlaUInspect in admin mode to be sure). If that does not see the elements, you won't be able to find them. Reach out to the creator of DotNetBar and tell them they should implement the UIA providers correctly.

Roemer
  • 2,012
  • 1
  • 24
  • 26