You are here:
Test with the UI Test Automation Model (UTAM) for Your App
Testing is paramount in getting your Mobile Publisher apps working as intended. Salesforce already uses UTAM to speed up UI testing, and we want you to have the tools available to thoroughly test your apps.
Salesforce has created a UI Test Automation Model (UTAM) to support test automation of Mobile Publisher apps. UTAM is based on the popular Page Object model design pattern commonly used in UI tests.
To understand how to use UTAM to generate page objects for native pages or components, and run a test on iOS and Android platforms, consult either the Java or the JavaScript mobile setup guide.
Examples for Java are in the utam-java-recipes repo.
Examples for JavaScript are in the utam-js-recipes. Each repo's
README file explains how to set up necessary tools and
where to find examples of mobile tests.
After you set up the necessary tools and are ready to test, here are resources to test your Mobile Publisher apps.
- Mobile Publisher Sample Test: utam-java-recipes (github)
- UTAM Page Objects for the Publisher Playground App: salesforce-pageobjects (Native Package Manager)

