how do I Impersonate using script in ATF? Service-Now Orlando release
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2020 02:45 AM
Why do the step config 'Impersonate' not work in ATF in Orlando release. I tried in some of the test, but the Client Test Runner's page become unresponsive during the run. Also, I have noticed when I use the step config 'Impersonate', there is a warning saying- Impersonating an existing user may cause unexpected behavior for this test. Avoid potential issues by adding a 'Create a User' step instead. If someone is not supposed to use this step config, then why do it exist in the list.
'Create a user' is not so flexible, while working on a instance where there are lot of customizations.
Can somebody help me please. Its urgent.
Also, how do I Impersonate using script in ATF?
- Labels:
-
Facilities Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2020 03:10 AM
Hi,
that should work as expected; if not then raise HI ticket.
Also it is recommended to create new user and then impersonate that for continuing your test case steps; In that way you will be testing it with actual user rather than impersonating
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2020 12:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2020 01:40 AM
Hi,
I believe it is not proper to ask a secondary question on the same community post as it leads to confusion to future readers. It's better to create a second post so there's a separation in the questions being asked.
I would encourage to post the link here once created
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2020 05:49 AM
Thanks Ankur, Created a new thread. https://community.servicenow.com/community?id=community_question&sys_id=a10fba53db1b58547d3e02d5ca9619bd