How to automate a desktop application using Appium?

I want to automate a desktop application using Appium. I think appium supports that too from the version 1.6 or higher. Can any body provide me any idea or details about it?

Are you talking about Windows or Mac.

We do have drivers for both of them. In desired capabilities you need to set automationName='Windows' or automationName='Mac' to run those drivers.


I am taking about windows.
After specifying this capability into capabilities what would be our next step?
Like, how to inspect element/ how to automate app?

Thanks in advance.

Please check documentation on WinAppDriver:

Is it Possible to Automate Mac desktop application using Appium and WinAppDriver?

Yes, It is possible to automate the windows or mac desktop application using Appium.