Hi,
I am using appium to automate native app. For the application launcher activity name is HomeActivity and it works fine if user logged in and redirect to home screen .
if user not logged in it redirects to welcome screen. In this case i am using HomeActivity to launch the app even app launches successfully with error as
“A new session could not be created. (Original error: com.medpresso.android.ui/.HomeActivity never started. Current: com.medpresso.android.ui/com.skyscape.android.ui.WelcomeActivity) (WARNING: The server did not provide any stacktrace information)”
Please help!!!. Please provide code to change activity.