For native we have coded as the Automation-id but in UiAutomator it is showing as Content-desc is it the general way of writing the XPath using content-desc or there is any other way to use that to write XPath. Can you help me out with the sample XPath instance .