Search code examples
pythonandroidmobileappium

How to create POM Appium Python


I have problems creating conftest file and and connecting to other files flows, actions, test_suits, locators. Please help me, i couldnt find solution from other sources. i need beginning step of POM of appium python, Can you suggest any sources that i can find solution to this question or share code structures


Solution

  • -> conftest.py (root) -> base fixtures(init appium_driver, addopts, etc)
    -> pytest.ini
      -> packages -> TestCase -> base_test.py -> class BaseTest extend appium_driver                     
                  -> PageObjects -> class BaseScreen -> class LoginScreen
                                                          -> Locators and actions with page
                  -> Utilities
                  -> etc.