Element is not generating in xml file for button

The issue is “I am trying to click on the button which present in windows application through automation, but when I inspect that element I am unable to find the locator for that button and its not generating in xml file also”.


  • Appium version (or git revision) that exhibits the issue: 1.15.1
  • Last Appium version that did not exhibit the issue (if applicable): 1.15.1
  • Desktop OS/version used to run Appium: Windows 10
  • Real device or emulator/simulator: Real Device
  • Appium CLI or Appium.app|exe: Appium app