Trying to Impersonate User in ATF without using serverside script

Community Alums
Not applicable

I am trying to impersonate a user in ATF test from Group member table, but its showing user did not found.

Kindly let me know how to achieve this without scripting.

Thanks

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @Community Alums ,

If you're in New York or later, you might be better off using the "Create a User" step. You can create a temporary user, assign the temp user to the right group and roles, and then impersonate them all in one step. The advantages of this are that it eliminates the dependency on existing information and rolls back (removes the user) when the test is done.

 

View solution in original post

1 REPLY 1

Community Alums
Not applicable

Hi @Community Alums ,

If you're in New York or later, you might be better off using the "Create a User" step. You can create a temporary user, assign the temp user to the right group and roles, and then impersonate them all in one step. The advantages of this are that it eliminates the dependency on existing information and rolls back (removes the user) when the test is done.