# Looking for a good Coding format in Appium-java for Full app testing

**URL:** <https://discuss.appium.io/t/looking-for-a-good-coding-format-in-appium-java-for-full-app-testing/16446>\
**Category:** Support\
**Created:** [May 4, 2017, 9:55am UTC](https://discuss.appium.io/t/looking-for-a-good-coding-format-in-appium-java-for-full-app-testing/16446 "2017-05-04T09:55:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Aleksei](https://discuss.appium.io/user_avatar/discuss.appium.io/aleksei/32/6267_2.png) [@Aleksei](https://discuss.appium.io/u/Aleksei)\
**Post date:** [May 10, 2017, 7:52am UTC](https://discuss.appium.io/t/looking-for-a-good-coding-format-in-appium-java-for-full-app-testing/16446/2 "2017-05-10T07:52:28Z")

</div>

1. create BaseTest class and move there all “@AfterTest”, “@BeforeTest” …
2. Login class should extend BaseTest
3. move all search elements into Pages.

Example: [PageFactory PageObjectModel issues](https://discuss.appium.io/t/pagefactory-pageobjectmodel-issues/9822/2)

---

_[View the full topic](https://discuss.appium.io/t/looking-for-a-good-coding-format-in-appium-java-for-full-app-testing/16446)._
