[Solved] How to create and write a module for automation test framework


Just go with page object model. It’s simple only. Refer this link.
http://toolsqa.com/selenium-webdriver/page-object-pattern-model-page-factory/

Ex: Keep Header.java and Move the locator elements to Header.java
Similarly Catergory.java and Move the locator elements to Category.java

Then SampleTest.java, Call the locator method in the test file…. That’s all…….

solved How to create and write a module for automation test framework