Select check box in List view using atf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 02:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 02:51 AM
My understanding say, No, It is not possible in ATF.
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
01-24-2025 02:55 AM
@Vishnu kumar R - Simple answer no.
If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2025 02:56 AM
Hi @Vishnu kumar R ,
As investigated, ATF cannot directly interact with checkboxes in list views.
But if you can verify with following ATF script, we can get solution for this requirement.
e.g. if you want to select a checkbox for all records in the incident table, you can do the following:
- Create an ATF Test that runs a Server-side Script step.
- In the script, use GlideRecord to update the checkbox field for records in the table.
var gr = new GlideRecord('incident'); // Replace with your table name
gr.addQuery('active', true); // Add any condition as needed
gr.query();
while (gr.next()) {
gr.checkbox_field = true; // Replace 'checkbox_field' with your field name
gr.update(); // Update the record
}