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 test set values not setting values

Community Alums
Not applicable

Hi,

I'm having an issue with an ATF Test, following instructions in the DEV training.  The Exercise is test a business rule in the NeedIt app.  Unfortunatley everything I try fails.

 

The test steps are:

1. Impersonate user, Fred Luddy

2. Insert NeedIt request setting values for:

when needed: 100 days in the future

Requested for: The impersonated user

Requested for Email: The impersonated users email

3. Record Validation:

when needed: is not empty

Requested for: The impersonated user

Requested for Email: The impersonated users email

find_real_file.png

 

Unfortunately it fails everytime on the business rule, checking the When needed date is not in the past or today.

 

So I tried another test using the Record creation on the form, using the same values:

find_real_file.png

This also fails but I can see when it runs that the test is not setting any of the values using the set field values!!

 

Any ideas why this would be?

I'm using London: Build tag: glide-london-06-27-2018__patch1-08-15-2018

 

Thanks,

Barry

 

 

 

 

 

 

 

10 REPLIES 10

Community Alums
Not applicable

Thanks bsweetser I'll check it out and confirm if this fixes the issue.