
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
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.
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.
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
- Share
-
- Responsive Dashboard Test Steps - https://developer.servicenow.com/connect.do#!/share/contents/4650296_responsive_dashboard_test_step_...
- Training
-
- Automated Test Framework Fundamentals (Micro-Cert Available) - https://nowlearning.service-now.com/lxp?id=overview&sys_id=0b0df7e41b670c505c28997fbd4bcb7f&type=cou...
- K20 Lab – Accelerate Application Development with Automated Test Framework - https://nowlearning.service-now.com/lxp?id=overview&sys_id=db066c831bb4d4901759b8c11a4bcb9e&type=cou...
- K19 Lab - Building custom visualizations and interactive filters - https://community.servicenow.com/community?id=community_article&sys_id=40562f5cdb9d3b0422e0fb2439961...
- Documentation
-
- Automated Test Framework - https://docs.servicenow.com/bundle/newyork-application-development/page/administer/auto-test-framewo...
- Interactive Filters - https://docs.servicenow.com/bundle/orlando-performance-analytics-and-reporting/page/use/dashboards/c...
- Custom Interactive Filters - https://docs.servicenow.com/bundle/orlando-performance-analytics-and-reporting/page/use/dashboards/c...
- Debug Filter - https://docs.servicenow.com/bundle/orlando-performance-analytics-and-reporting/page/use/dashboards/c...
- Script Includes - https://docs.servicenow.com/bundle/orlando-application-development/page/script/server-scripting/conc...
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.
- 3,637 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.