microsoft / WinAppDriver

Windows Application Driver
MIT License
3.7k stars 1.4k forks source link

How to get BackgroundColor/ForegroundColor of element in WPF App #1840

Open badashaha opened 1 year ago

badashaha commented 1 year ago

Actualy i want to verify control color change in WPF application using winappdriver but my bad i did not found anything on that how to do it. Can you please help me about this,is it possible using Winappdriver?

anunay1 commented 1 year ago

What is shown in inspect? There will be an attribute that gives color, just get that attribute?

dronkoff commented 1 year ago

What kind of an attribute shows the color? image

Shakevg commented 1 year ago

badashaha I suppose it is not possible. I didn't see such ability during working with WinAppDriver