1. Web application automation as Selenium + TestNG +Java maven project
have three packages : core, pages and tests
i. core for base functions /methods
ii. Pages/class:- for different methods to access web pages of same application
say :- Login_page , Home_page, contact_page, settings_page, MainActivity_page which start activity based on values from Home ,contact and settings page.
iii. Tests :/classes:- for each page there will be corresponding test class
say :- Login_Test , Home_test, contact_test, settings_test, MainActivity_test
Current behaviour
i am using page object model so each test class will open as separate instance
Behaviour i need
i want to execute Main activity class methods as a continuation of other classes