Inspect.exe gives different results in VS2017 and VS2019
I am writing WinAppDriver tests for a winform application which is an extension in Visual Studio. The same test ran successfully in VS2017 but failed to find elements in VS2019. Using Inspect.exe there is a discrepancy in the UI representation. In VS 2017, the element is dropdown menu but in VS 2019, it is a "toolbar". I am not sure if this is winform issue or with inspect.
Attached are 2 screen shots. first one is VS2017 and second is VS2019.

Hi @orion-test, might be a good idea submit a suggestion to the Visual Studio developer community.
Regarding WinAppDriver here, what happens when the test fails? What error does WinAppDriver report? Are you able to interact with other elements inside the toolbar? via Inspect perhaps?
@hassanuz The test failed with unable to locate element. Yes, I am able to interact with the elements that are listed within the toolbar and the winappdriver test can locate those elements as well. I worked around the issue by doing Sendkey(Keys.ArrowDown) to get to the missing menu items.
Thanks for the comment. I will submit a suggestion to the VS developer community.