How to check a user's group membership in ATF server script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 01:04 PM
Hello all,
I'm creating an ATF test that involves validating user's being members of s specific group. I've found that ATF is not able to directly click the "group members" tab in the related lists of the group's record. How can I go about properly querying this in ATF's server-side test step?
I've written this script but does not give me the output messages in the results:
Thanks a lot in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 11:33 PM
You can actually do it by 2 ways:
First way:
1. Open existing form (select table as Group, and open that specific group)
2. Apply filter to list
Second Way:
1. Open existing form (select table as User, and open that specific user)
2. Apply filter to list.
Regards
Shaqeel
***********************************************************************************************************************
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2023 02:15 AM
I dont think need to write any code. You can open the table (in ATF) and search user or via Filter List.
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/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
