Automation Code Management Using JAVA
I am new to Automation and I have started to work on
SeeTestAutomation. I want to know how to make proper classes and methods for automating an Android Application.
My main concern is to know how to arrange test cases in classes and how to arrange code.
For starters, I would suggest you to start reading about Page Object Model - which is a great way to introduction abstraction in your Selenium tests and provides a programmatic way to drive and interact with UI.
Each page of your AUT (Application Under Test) is mapped to a class file in your code and each method within the class file can be treated as a service offered by the PageObject.
A simple example is provided here.
Note : If you want to involve Python, a very good starting tutorial is here. This example takes a mobile apk, so it is be relatable with what you are asking for.