Facing issue in the ATF set variable values(SP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-31-2024 02:43 AM
In ATF Test step, set variable value(SP)
while i am setting the organization field value in the CSM portal
organization(refers to the customer_account table )
I am setting the valid account value but it is failing and showing the failure
failure: failed to set field 'organization' to value 'fe4115ab1bada11002c76283b24bcb6b' because the reference is not valid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-31-2024 06:15 AM
can you share the list of steps configured?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-01-2025 09:17 PM
@Ankur Bawiskar In ATF, I have used the existing user to run the test that I have used to test Manually to check the field values of the organisation setting correctly on the CSM portal
Here I am attaching the screenshot of the teststeps I have created in ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-01-2025 09:23 PM
what happens if you run the test as admin user?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2025 11:52 PM
The test get passed, If I run as an admin user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2025 11:54 PM
Hi @SindhujaS
It means the user you are using in ATF is dont have CSM access, please provide the CSM agent and other required role.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************