Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

ATF testing on Dashboard Score and Indicators

rajathdalva
ServiceNow Employee
ServiceNow Employee

I am performing Automated Testing Framework (ATF) validation on a specific Performance Analytics dashboard. This includes impersonating a user, navigating to the dashboard, interacting with various components, and validating their presence and behavior.

 

In addition to this, I need to verify that the score displayed on a specific dashboard widget matches the actual value of the corresponding Performance Analytics indicator in the system.

Can we Perform this activity by ATF Steps OR Should we need to write a script on this, Help me out!

1 REPLY 1

dchoward9
Tera Contributor

The only thing I can think of would be using run server side script to retrieve the value of the indicator, then using the following steps: navigate to module (probably dashboards), click component UI (do steps like this until you eventually click and open your dashboard), assert text (custom UI) <--- dot walk to the string value output of your script that was run early in the ATF test, as this will be the text you want to assert