Implementing POM in automation - Is this a best practice?



In Selenium, I was following Page Object Model where the code related to UI are kept in a separate file, so that any changes in UI can be handled easily. I tried to implement the same in uiautomation, found it very useful. I divided the workflow into 2 files, one for UI and one for non UI related code. Any suggestions in this regard are welcome.