The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Can ServiceNow ATF be used to test elements in modern Workspaces (UI Builder / Agent Workspace)?

rilarduya
Tera Contributor

Hello,

 

I’m currently working with modern Workspaces in ServiceNow (built in UI Builder, including Agent Workspace), and I need to create automated tests using the Automated Test Framework (ATF).

 

I know that ATF supports classic UI elements, but I’m not sure about its full compatibility with UI Builder components. Specifically:

 

  • Can ATF interact with and validate components in modern Workspaces?

  • Are there specific ATF test step types for UI Builder (e.g., “UI Test for Workspace”) that I should be using?

  • Are there known limitations for certain component types (like custom Now Experience components)?

  • Is adding 'data-test-id' attributes still the recommended best practice for targeting workspace elements?

 

If anyone has experience or official guidance on ATF’s capabilities and limitations in this context, I’d greatly appreciate your insights.

 

Thanks!

2 REPLIES 2

Mark Manders
Mega Patron

It can, since Washington: https://sn-nerd.com/2024/02/22/exploring-atf-support-for-configurable-workspaces-in-washington-dc-re...


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Ankur Bawiskar
Tera Patron
Tera Patron

@rilarduya 

you can but there are limited OOTB steps available in ATF.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader