UI Test Automation Model (UTAM) provides a JSON grammar to write page objects. The UTAM compiler generates runnable code from the JSON page objects.
UTAM is agnostic to the application under test. It isn't specific to the Salesforce platform and it can generate executable page objects for any consumer.
UTAM doesn't include a test runner. To use UTAM page objects from UI tests, integrate it with your test automation framework.
To start coding in a playground, check out the Tutorials.
After you become familiar with the JSON page-object grammar and tests in the tutorials, you're ready to use UTAM on your own machine.
README file explains how to set up tools (Node and Yarn) and has examples of page objects and tests.
Start with the Java guide and the utam-java-recipes repo.
README file explains how to set up tools and has examples of page objects, compiler setup and tests.
UTAM for Mobile (Java only)
Compared to desktop, it's more complicated to set up tools (Node, Appium, Xcode and Android Studio) in your development machine to execute a mobile test against your local iOS simulator or Android emulator. Fortunately, SFDX has a Mobile Extension Plug-In to help. Install it from SFDX CLI, and use it to check for the required Android and iOS configurations. If the mobile extension finds problems, the command output gives you hints for how to fix your environment. This is a convenient way to set up mobile tools, but you don't have to use it.
To understand how to use UTAM to generate page objects for mobile native pages or components and run a test on iOS and Android platforms, see more detail in UTAM Mobile.
Examples are in the utam-java-recipes repo. The repo's
README file explains how to setup necessary tools and where to find examples of mobile tests.