- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello Community,
I would like to check whether validating Activity Logs (Work Notes / Comments / Field Changes) in Automated Test Framework (ATF) is still not fully supported.
I came across a ServiceNow Community post from around 3 years ago which mentioned that Activity Stream could not be directly tested in ATF. I also found another article that provides a workaround for testing Activity Logs when the Activity Log section is on a tab.
Since ServiceNow has evolved significantly over the past few releases and many new ATF capabilities have been introduced, I wanted to confirm the current status.
Could you please help clarify:
• Is there now any native ATF step available to validate Activity Stream entries?
• Are there any new or recommended approaches to test Activity Logs using ATF?
• Is there any latest documentation or reference available for this?
Any guidance or updated information would be greatly appreciated.
Thank you in advance! 🙏
https://www.servicenow.com/community/developer-forum/how-to-test-activity-logs-in-the-automated-test...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Mohamed_009 - You can directly query on 'Journal Entry (sys_journal_field)' table by using 'Record Query' step by giving following details -
1. Name - table name (e.g., incident, sc_req_item)
2. Element - the journal field (worknotes or comments)
3. Element ID - Sys ID of the target record (e.g., the Incident you’re testing)
4. Value - the text of the note/comment
----------------------------------------------------------------------------------------------------------------
If my response helped, please mark it by selecting "Accept as Solution" and " Helpful."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Mohamed_009
• Is there now any native ATF step available to validate Activity Stream entries?
Ans: No.
• Are there any new or recommended approaches to test Activity Logs using ATF?
Ans: You can use asset text on page, There is another option of record query from sys_journal_field table you could try.
• Is there any latest documentation or reference available for this?
Ans: Maybe.
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel

