ReactNative app with instrumentation and non-instrumentation

Hi,

@kishore
I just want to know the difference between instrumented and non-instrumented mode. And also for the below query.

Basically, in our RN app, the very first step is to authenticate with credentials. So for the authentication, we need non-instrumented mode execution and after authenticating, the rest of execution should be in the instrumented mode. is it possible through code to switch between the non-instrumented and instrumented mode via appium studio?

Also faced below err while executing in both mode:

Runtime Exception: Failed to identify the elements or application is not launched. But App is not closed and still, it was in the Screen only.

Thanks in advance.

Please go through more about instrumentation mode - https://docs.experitest.com/display/TC/AS+-+Preparing+Applications+For+Testing

You will have to run with fully instrumented mode , you cannot have partial instrumented and non instrumented mode.

You will have get all the xpaths for instrumented mode and then use them in development and execute the testing code.