How to create ATF for catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2024 01:25 PM
Hello community,
I am new to ATF, I wanted to create Test for catalog item flow
Steps need to validate:
Open catalog item
Fill variable values
Submit item
Open the RITM
group approval, there will be group approval created and we need to approve that. Once approved one task will be created and on closure of first task another task will be created. Once the second task is closed RITM should be closed
Need help in creating test. Thanks in advance 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2024 07:13 PM
what's your actual requirement here?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2024 09:54 PM
Need to create request, group approval, once approved task 1 created, once 1st task closed 2nd task creation and once closure of 2nd task RITM should be closed
I know steps till order the catalog item
Need help in approval group, tasks closures
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 03:59 AM
for approval group you need to search the exact sysapproval record and impersonate the approver and then click the Approve button
you might have to use custom server side script step here for determining the approval record
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2024 08:35 PM
Hello @anvitha ash ,
There are examples available on PDI to test catalog like Search and Open Catalog Item (SP).
You can refer the examples to create your ATF.
Thanks,
Valmik Patil