logo

NJP

Automated Testing of Dashboards - Office Hours - July 1 Recap

Import · Jul 01, 2020 · article

During the Performance Analytics and Reporting Office Hours on July 1, we looked at how we can automate testing of dashboards in ServiceNow, specifically focusing on testing custom interactive filters.

image

Whenever you are developing anything custom in ServiceNow, make sure you include ATF tests. That allows you to sleep easier at night knowing that with a push of a button you can confirm all configurations are working and stay working. Life is easier when you identify any upgrade issues on the first day when you upgrade a sub prod instance compared to hours before you upgrade production or worse after you already upgrade.

image

Here is the full recording of this session:

Correction(s)

In the demo, I tried to validate success with an "Assert Text on Page (Custom UI)" test step. This failed because it was the incorrect test step. What I needed to use was the "Component Value Validation (Custom UI)" and validate that the text in the debug filter was exactly what was expected.

Useful Links

The presentation is attached for your reference. See you at a future Performance Analytics and Reporting Office Hours session. We run the sessions every other Wednesday at 9 am Pacific, Noon Eastern, 6 pm Central European time.

View original source

https://www.servicenow.com/community/performance-analytics-blog/automated-testing-of-dashboards-office-hours-july-1-recap/ba-p/2270940