- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2022 06:50 PM
I want to open a specific URL in ATF to simulate the behavior when a user clicks on a link in an email.
As a test, I tried to open the link using the "Click Component (Custom UI)" test step from "Preview Notification" in Notification as an Admin user, but the link was not detected by ATF because it opens in a separate window.
I would like to know how to open a URL specified in ATF in the same window.
(The "Open an Existing Record" test step, etc. cannot be used because the specified URL must be accessed.)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2022 10:20 PM
I don't the entire functionality can be tested using ATF
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2022 09:00 PM
you can only use Click Component step
If it's not working then possibly it's not supported or not feasible
can you share your test steps screenshot?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2022 09:47 PM
Thank you for your help.
I have tried Test in two ways.
In both cases, no record of the URL being opened was kept in the transaction log.
1. Testing using the Click Component step
2. Testing using the Run Server Side Script step
(Execution order:9)
Thank you,
tk37
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2022 09:50 PM
But why do you wish to test the preview notification functionality?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2022 10:05 PM
I would like to confirm the process of updating a custom Column in the sys_user table with the datetime of the most recent access to a Fulfiller equivalent record.
One of the requirements for this process is for updates due to clicking on a specific Notification link.
Thank you,
tk37