Solved
Forum Discussion
NBorovykh
Moderator
Hi Lokesh777,
This JavaScript code retrieves the auth method set for your project in the current environment and posts its name to the log:
var auth = context.testCase.testSuite.project.getAuthProfileHolder().getAuthProfile(); log.info(auth);
A video showing how it works for me is attached.
I hope this is what you were looking for.
Related Content
- 4 years agoyassir
- 3 years agoalexandrebodart
- 3 months agoarmygrad
- 2 years agochip1914