Object spy couldn't recognize some UI element in iOS Native App

I have encountered one problem when executing test case in iOS devices[iPad] for Demo or POC purpose,

When I trying to locate UI element in iOS Native App using Object spy, it couldn’t recognize some UI element in Native App,

Here I have attached screen shot for your reference,

Unrecognized UI element highlighted in red color,

Can you give work around for this issue?

Can you attach the screenshot?

Hi Tom,

I attached screen shot with it,

Pls have a look at this and provide the solution,
Object spy couldn’t recognize UI element in Native App,highlighted with red color box,<img

I have attached one more screen shot that highlighting only the unrecognizable UI Object in the Native app

Hi Michael

Can you try instrumenting the application?

Hi Tom,

the solution you provided not working for my Native app,

I have tried following solution,

1)adding DesiredCapabilities.SetCapability(“instrumentApp”, true);

2)adding =ios.non-instrumented.dump.node-based.bundle in ios_dump.properties

3)adding ios.non-instrumented.dump.parameters= ,, in app.property file

4)Also I have verified Dump using following code,it not containing UI element that I looking for…

String visualDump = (String)driver.ExecuteScript(“experitest:client.getVisualDump(“Native”)”);

Hi Tom,

Now is working,

Initially not working ,app cache memory may be an issue,

It is working After reinstalling my native app and then tried with “DesiredCapabilities.SetCapability(“instrumentApp”, true)”

Hi Michael

It’s due to the fact that the application must also be installed with instrument flag

Then only will the launch with instrumentation work

Hi Tom,

Thanks for your prompt reply and valuable information

Tom,

How to install the application with instrument flag?

dc.setCapability("app",<PATH-TO-APP>);
dc.setCapability("instrumentApp",true);

https://docs.experitest.com/display/public/TD/Application+Setup