Automated Test Framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2024 07:06 AM
When testing Change module via ATF (Automated Test Framework) in ServiceNow, filling mandatory fields like categories, subcategories, and target company is essential, but it is throwing error if I set any values for those and then submit .
errors: FAILURE: Failed to set field 'u_target_company' to value '0a6b9f36ec5330009d44fc8b024ccc04' because the reference is NOT valid - for target company field
Invalid insert - as these are dependent fields , u_subcategory - for subactegory fields
help me to fill those and submit the form in ATF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2024 10:53 PM
Thanks for you time !!
But still it is not getting resolved .The user I created in ATF only and I chose company as cognizant for him and in that domain when I opened change I am able to see that subcategory hardware under category hardware but when I am choosing the same in atf set fields values it is throwing error like this while test is running.
FAILURE: Unable to set field 'u_subcategory' to value 'Hardware'. Value 'Hardware' is not currently a valid choice