- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2022 02:24 PM
Hello,
I'm creating a test case where a user is created and updates a case task form and then saves the updates which results in an auto assignment to a different group.
I then create a user and add them to the assignment group in addition to other groups and impersonate the new user and attempt to assign the case task to themselves.
Later while running test in debug mode, I noticed that not all groups were added to the user profile prior to the impersonating the user and then the user attempting to open the record. The missing group is a security group that is added to both users created in the test case.
What could be the reason why a user is not be added to the all the groups defined during the user creation.
Regards,
Ziad
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2022 06:50 PM
Hi,
Adding a step to impersonate the admin prior to creating the new user resolved the issue, and now the user is added to the security group
Regards,
Ziad

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2022 07:42 PM
Can you please share how you are adding newly created user in different groups?
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2022 10:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2022 06:50 PM
Hi,
Adding a step to impersonate the admin prior to creating the new user resolved the issue, and now the user is added to the security group
Regards,
Ziad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2022 10:58 AM
Hi there. We get the same error type (Unable to set field 'u_service_type' to value....). However it works on a previous step (creating new vs. updating existing record). It seems the form may not load fast enough for the ATF to have the field available. Our ATF actually passes fine in 5 our of 6 instances and we suspect that instance may be a little busier. Is there a good way to confirm the form has completed loading before the ATF begins to set the field values?