- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2017 12:13 PM
I am creating a new test in Automated Test Framework and utilizing the incident template. I fill in all the fields that are needed to complete the form and when I run the test I receive an error: FAILURE: Unable to set field 'subcategory' to value 'laptop'. Value 'laptop' is not currently a valid choice. All of our subcategories are there, so I am not sure why it is stating it is not a valid choice. Any suggestions on this?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2017 11:38 PM
I believe the issue here is in timing. When your Category loads it takes system some time to load the values for the Subcategory (even outside of the ATF), so when ATF tries to set the Subcategory it is actually still empty, thus the error.
I was able to get around this issue (with basic Category/Subcategory set up) by splitting out the Set Value process into 2 steps: Set Category in step1 and Subcategory in step2.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2022 12:22 AM
I have do same steps which you mentioned above but still i am getting same error.
What i can do ?