UI Elements are not visible in the inspector

When simulator is scaled elements are not visible in the Appium Inspector.

Also it is failed to find the element programmatically
String XPathDeconnection = “//UIAApplication[1]/UIAWindow[1]/UIATableView[1]/UIATableCell[14]/UIAStaticText[1]”;
if(new CheckElementPresent().IsElementPresent(driver, By.xpath(XPathDeconnection)));

Is it a Hybrid app? If yes, I think you should locate element on WEB_VIEW.

Nope, it’s Native iOS App

I’ve had a similar problem in the past. My answer was to write the scale I’d like to see to defaults. I’m using a Ruby script to create the required simulator on the fly, and at the end is this:

# iPad Retina tests fail because the simulator's resolution is too large.  We need to scale
#  the simulator down to 50% so that elements can be seen and interacted with
if (device == 'iPad Retina')
  `#{defaults} write ~/Library/Preferences/com.apple.iphonesimulator SimulatorWindowLastScale-com.apple.CoreSimulator.SimDeviceType.iPad-Retina \"0.5\"`

At the beginning of the script I’ve set the defaults variable like this:
defaults = '/usr/bin/defaults'

So you can see that inside the system call (between the backticks) it expands to the path to defaults. You can use this type of command at the beginning of your test run to set and keep the scale of any simulator you might choose to use. HTH.