Is it possible elevate role in ATF test step?

Maksym
Tera Contributor

Hi guys! Is anyone know if it's possible somehow to elevate role in ATF test step? Using script or any other suggestion?

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Maksym 

 

Not available OOTB and it is too risky to use in ATF. What is use case yo have for this.

*************************************************************************************************************
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]

****************************************************************************************************************

Maksym
Tera Contributor

@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.

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. 

*************************************************************************************************************
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]

****************************************************************************************************************