Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

ATF issue in workspace

ServiceNow Use6
Tera Guru

Hi,

I am creating an ATF test case for CSM workspace, i am getting an error please. I never used 'company' field at all. Kindly help.

 

1.png

2.png

3.png

 

4.png

5.png

 

Regards

Suman P.

1 REPLY 1

Tanushree Maiti
Kilo Patron

Hi @ServiceNow Use6 

 

Probable cause 1 : (Refer: KB0819775 ATF is unable to set a field on a form )

Cause

  • The cause of the issue is that field is to be visible only on a view - "yyyyy", whereas the form is opened by the ATF using the Default view
  • Hence, ATF is unable to find the field on the form

Resolution

  • By adding the view name - "yyyyy" in the STEP - "open an existing record", ATF is able to set the values to field successfully

 

Similar Issue reported: https://www.servicenow.com/community/developer-forum/atf-error-on-change-request-form-quot-failure-u....

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: