Issues while identifying elements

I have used following ways to find the elements on Samsung Note 2 , but no luck.

  1. UI automator viewer : Got the class name , but my xpath is not identified.

  2. Inspector window in Appium server : Showing following error
    “error getting source page : For security reasons DTD is prohibited in this xml doc inspector window…”

Please suggest how to resolve these issues , & any better way to identify these elements ???

Is this for an app, or website?

this is for website only

OK, in which case I suggest unlocking an android for debug, and using chrome’s developer tools to identify the elements you want to use https://developer.chrome.com/devtools/docs/remote-debugging

hi …thanks a lot for the reply…with this able to find identifiers :slight_smile: .