Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ATF generation using "Create with Now Assist" results in a build error

_odamai_
Tera Guru

I tried using the Test Creation feature in Now Assist based on this YouTube video,
https://youtu.be/qRX7xXgTubA?si=uzB-49jzaxRb-JF9

but no matter what prompt I enter,I keep getting an error like the one shown in the screenshot.
If anyone knows how to resolve this issue, please let me know. I need your help.


<Error Message>

Encountered issues during build and deployment.
Error occured while handling build response: No test in x_snc_t2t_build scope

<Excerpt from the syslog (The sys_id has been masked when posting to the community) >
t2tUtil: Error: Failed to parse the following fieldValues string into JSON: {
"caller_id": "73935ag14821311155r6g67aabbfffuf", // sys_id of abel.tuter
"short_description": "ATF Generate Test", // short description
"urgency": "2", // urgency set to 2 - Medium
"state": "2" // state set to In Progress
}

There is a JSON parsing error, but I believe this process is handled internally by ServiceNow.
I don't think there's a setting available for this.

As stated in the error message, even after changing the application scope to x_snc_t2t_build, the situation remains the same.
Moreover, in the YouTube video, the application scope is Global.

Please tell me any solutions or other things I should try. I really need your help.


Thank you for reading.

See more at https://devlink.sn/blog Or talk with fellow ServiceNow Developers at https://www.servicenow.com/community/developer/ct-p/Developer Are you tired of manually creating ATF tests? Meet Now Assist for Test Creation, the AI-powered feature that transforms natural language prompts into fully
1 REPLY 1

_odamai_
Tera Guru

I contacted NowSupport regarding this issue, and it turns out it's a known problem tracked under PRB1861292.
It appears to have been resolved in "Test Generation" version 2.0.1.