- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2020 06:51 PM
Hi experts!
I did an Impersonate user on ATF and performed a certain action. Then I am looking for a way to End Impersonation or pretend to be the first user to log in.
But I can't find the End Impersonation section in the ATF.
Is there a good way to do this?
Best regards.
senon
Solved! Go to Solution.
- Labels:
-
Automated Test Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2020 05:03 AM
Hi Senon,
Not sure if I'm late to the party, but there is an "End Impersonation" that I came up with. I haven't seen it elsewhere so far. See below:
1. Start your ATF Test with a 'Run Server Side Script' Step. Clear all the 'Test script' contents, and copy/paste this - "outputs.record_id=gs.getUserID();" and save. What this does is record the User ID of the person who kicked off the ATF Test.
2. Next, create and impersonate your Test User.
3. Once ready to end the impersonation, all you have to do is to impersonate the person in Step 1 by referencing. This goes back to you or whoever kicked off the ATF Test.
Let me know if this helps or if you need some screenshots. I'd be more than happy to provide.
Regards,
Gerald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2020 09:13 AM
can you suggest how point no 3 execute. I've run point no 1 but still in point no 3, it is not taking point no 1.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2021 01:00 PM