Hello Appium community.
After a lot of searches online I finally decide to try my luck on this forum.
I recently got into appium and it feels like the hardest thing for me is to understand how the whole appActivity stuff is really working. The app I'm testing currently has a StartActivity followed up by a LoginActivity just to loggon into the application. So to get around this I just made the "startActivity" my appActivity and the "LoginActivity" my appWaitActivity.
I have all these setCapabilities in a @BeforeClass in my test.
I've managed to loggin with my app then I get thrown to a "e-id" app that basically just identifies my user then I get thrown back to the original application. Problem is now I get a nullpointerexception when I try to interact with the orginal app again.
So how do I deal with appActivities? If I for example click "button 1" that takes me to another app activity how do I interact with the new activity?
What I'm using, android, eclipse, java , testNG , POM
As always I appreciate all help given.
Regards