---
schema_version: "1"
id: 5b7b0b69d4709f9126a1c1c9f5a88b98e3a4ac2ce8b93e6f6ffd4d88c693e202
title: ​Automate UI Testing for Omniscripts and Flexcards
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/260-0-0/rn_os_utam_testing_for_omniscripts_flexcards.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_os_utam_testing_for_omniscripts_flexcards.htm&release=260&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3409dc7c716f3ab7a4e937bc8568e02e31182dd115a6264be549ffe32353dc1b
description: Omnistudio now supports comprehensive UI testing for guided experiences and visual components by using the UI Test Automation Model (UTAM) framework. UTAM improves deployment reliability by validating end-to-end workflows. Write UI-driven tests for Omniscripts and Flexcards that validate full user journeys exactly as they appear on screen. UTAM interacts directly with the interface to test user inputs, navigation, actions, data rendering, and visual states.
products:
  - Cross Cloud Packages Solutions
release: "260"
---
# ​Automate UI Testing for Omniscripts and Flexcards

Omnistudio now supports comprehensive UI testing for guided experiences and visual components by using the UI Test Automation Model (UTAM) framework. UTAM improves deployment reliability by validating end-to-end workflows. Write UI-driven tests for Omniscripts and Flexcards that validate full user journeys exactly as they appear on screen. UTAM interacts directly with the interface to test user inputs, navigation, actions, data rendering, and visual states.

**Where:** This change applies to [Aura and LWR sites](https://help.salesforce.com/s/articleView?id=experience.exp_cloud_basics_glossary.htm&type=5&language=en_US) accessed through Lightning Experience in Enterprise, Performance, and Unlimited editions where Omnistudio is enabled.

**Who:** This feature is available to Omnistudio customers who use the standard runtime and standard designer.

**Why:** UTAM offers these key benefits:

- Abstracts Document Object Model (DOM) changes to keep UI tests stable, even when platform updates modify layouts.
- Simulates real user interactions across Omnscripts and Flexcards for end-to-end validation, from data entry to conditional logic.
- Uses Page Object Model (POM) to organize reusable Page Objects (POs), simplifying test creation and maintenance.

**How:** To use UTAM for automated UI testing, first install and configure your preferred test runner (for example, WebDriverIO or TestNG) to work with the UTAM framework. Next, leverage the Omnistudio UTAM POs to create custom POs for your Omniscripts or Flexcards, abstracting common UI elements, such as steps, inputs, and buttons. Then, build your test scripts on top of these custom POs by using helper methods to launch the Omniscript, set field values, and perform navigation actions. Finally, verify that the end-to-end user journey, validations, and element behaviors work as expected.

#### See Also

- [_Salesforce Help for Omnistudio_: Automated Testing with UTAM for Omnistudio](https://help.salesforce.com/s/articleView?id=xcloud.os_utam_flexcards_omniscripts.htm&language=en_US)