Appium studio is disconnecting the device at a particular action

Hi Folks,

I am using appium studio and while executing the script at the single point, when I try go click on back button, device is getting disconnected. And I am not able to proceed further.

Even I am using capability as
dc.setCapability(SeeTestCapabilityType.INSTRUMENT_APP, true);

but no solution. Is there anyone who us facing the same problem or resolved already? please give me the solution.

Thanks,
Varsha

Can you please add your script to the topic along with the log files from Appium Studio?

https://docs.experitest.com/display/AS/Collect+Support+Data