App unloads when there is an error

Hello

I am scripting a mobile automation test, When there is an error such as “UI element not found” the app unloads / closes from the Android emulator.

How can i keep the app open even when there is an error in the script?

Hi @rpn_mail

Hope you are using the mobile testing with the Appium. In the code, have you added any steps for tear down the application when there is an error?

Thanks

yes, i have added tear dows steps

@rpn_mail check whether it’s closing the application in the teardown stage