Is it possible elevate role in ATF test step?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 12:26 AM
Hi guys! Is anyone know if it's possible somehow to elevate role in ATF test step? Using script or any other suggestion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 03:10 AM
Hi @Maksym
Not available OOTB and it is too risky to use in ATF. What is use case yo have for this.
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 07:45 AM
@Dr Atul G- LNG When you have created your custom role with elevation privileges, and you use it for some restricted operations to create or edit records, same way as security_admin for an ACL. In this case when you want to run ATF and impersonate a user with role, but to be able to use it properly, you need also elevate it. This is the case where ATF comes in place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 08:06 AM
Hi @Maksym
I did lil research in background and my thought was the same as yours. But there is no way to use an elevate role in ATF. I.e. reason I said, please test it manually.
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]
****************************************************************************************************************
