So my test suite always starts with me logging into my app. My question is if it’s good practise to create a baseclass that includes all DesiredCapabilities and the loggin function to avoid code duplication.
Ive followed a few guides to create a baseclass but I feel like I’m missing something since I always get a null pointer exception. Does anyone have a code example to share how to deal with this when writing in a page objected way together with pagefactory. Android & Java.