I want to approve from the list view can i perform this through ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 04:27 AM
Hi
I want to approve from the list view can i perform this through ATF.
I have created a ATF from the portal once it is created there 2 Site Access Request Entries will create as mentioned in the below screenshot:
Can i perform the bulk approval from the mentioned above screenshot by using the ATF
do we have any ATF test step to perform such kind of Bulk approve from the list. If yes, please provide me the test step in ATF.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 04:33 AM
Hi @kranthi2
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
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 04:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 04:43 AM
Any possibility can i approve from the actions on selected rows which is mentioned in the below:
Because even if i impersonate still i don't have any option to approve from the form view.
Must and should approve from list itself.
Thanks,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 04:52 AM
Hello,
Step-by-Step Guide to Approve from List View Using ATF
-
Navigate to ATF: Go to
System Applications > Automated Test Framework > Tests
. -
Create a New Test: Click
New
to create a new test and provide a name for your test. -
Add Test Steps: Add the necessary steps to your test. The key steps will be opening the list view, selecting the record, and performing the approval action.
Example Test Steps
Step 1: Open a New Form
- Action:
Open a New Form
- Table:
Your Table
(e.g.,Incident
) - Record: Leave empty if you want to create a new record.
- Table:
Step 2: Set Field Values
- Action:
Set Field Values
- Table:
Your Table
- Fields: Set the necessary fields to create a record that needs approval.
- Table:
Step 3: Submit Form
- Action:
Submit a Record
- Table:
Your Table
- Table:
Step 4: Open a List
- Action:
Open a List
- Table:
Your Table
- View: Select the appropriate view (e.g.,
Default view
).
- Table:
Step 5: Impersonate a User
- Action:
Impersonate User
- User: Select the user who has the authority to approve the record.
Step 6: Select Record in List
- Action:
Open a Record from a List
- Table:
Your Table
- Filter: Add a filter to find the specific record you created in step 2 (e.g.,
Number = INC0010001
).
- Table:
Step 7: Click UI Action
- Action:
Click a UI Action
- UI Action: Select the UI Action for approval (e.g.,
Approve
).
- UI Action: Select the UI Action for approval (e.g.,
Example of Setting Up the Test Steps
-
Create a new test:
- Navigate to
System Applications > Automated Test Framework > Tests
. - Click
New
and provide a name for your test.
- Navigate to
-
Add test steps:
- Click
Add Test Step
and configure each step as described.
- Click
Add a Test Step: Open a New Form
- Step Configuration:
- Action:
Open a New Form
- Table:
incident
(or your specific table) - View:
Default view
(or your specific view)
- Action:
Add a Test Step: Set Field Values
- Step Configuration:
- Action:
Set Field Values
- Table:
incident
- Fields:
short_description = "Test Incident for Approval"
,priority = "3"
- Action:
Add a Test Step: Submit Form
- Step Configuration:
- Action:
Submit a Record
- Table:
incident
- Action:
Add a Test Step: Open a List
- Step Configuration:
- Action:
Open a List
- Table:
incident
- View:
Default view
(or your specific view)
- Action:
Add a Test Step: Impersonate User
- Step Configuration:
- Action:
Impersonate User
- User:
Approver
(a user with approval rights)
- Action:
Add a Test Step: Open a Record from a List
- Step Configuration:
- Action:
Open a Record from a List
- Table:
incident
- Filter:
short_description = Test Incident for Approval
- Action:
Add a Test Step: Click UI Action
- Step Configuration:
- Action:
Click a UI Action
- UI Action:
Approve
- Action: